Skip to content

Commit

Permalink
Show version in title
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceneNerd committed May 28, 2020
1 parent 0015b98 commit 7ff7590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion wildbits/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from rstb import ResourceSizeTable
import webview
from . import EXEC_DIR, _sarc, _rstb, _yaml
from .__version__ import USER_VERSION


class Api:
Expand Down Expand Up @@ -333,7 +334,7 @@ def save_yaml(self, yaml: str, obj_type: str, be: bool, path: str) -> dict:
def main():
api = Api()
api.window = webview.create_window(
"Wild Bits", url=f"{EXEC_DIR}/assets/index.html", js_api=api
f"Wild Bits {USER_VERSION}", url=f"{EXEC_DIR}/assets/index.html", js_api=api
)
gui: str = ""
if system() == "Windows":
Expand Down
3 changes: 2 additions & 1 deletion wildbits/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
VERSION = "1.0.0b8"
VERSION = "1.0.0b9"
USER_VERSION = VERSION.replace("b", " beta ").replace("a", " alpha ")

0 comments on commit 7ff7590

Please sign in to comment.