这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pathlib

PROGRAM_NAME = "Start Menu Helper"
VERSION_NUMBER = "1.1.1"
VERSION_NUMBER = "1.1.2"
ICON_FILE_NAME = "icon.ico"
TIME_BETWEEN_SCANS_IN_MINUTES = 5
APP_DATA_PATH = pathlib.Path.home().joinpath("AppData")
Expand Down
14 changes: 9 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
#!/usr/bin/env python3
import argparse
import logging
import os

import wx

from library import constants, gui

logging.basicConfig(level=logging.INFO,
filename=constants.LOG_FILE_PATH,
filemode="a",
format="%(asctime)s - %(levelname)s - %(message)s")

if __name__ == "__main__":
if not os.path.exists(constants.CONFIGURATION_PATH):
os.mkdir(constants.CONFIGURATION_PATH)

logging.basicConfig(level=logging.INFO,
filename=constants.LOG_FILE_PATH,
filemode="a",
format="%(asctime)s - %(levelname)s - %(message)s")

argument_parser = argparse.ArgumentParser()
argument_parser.add_argument("-b", "--start-in-background", action="store_true",
help="Start the program in the background with the previous configuration")
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_script.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; This file is a script for generating the setup of the app using Inno Setup (http://www.jrsoftware.org/isinfo.php)
#define MyAppName "Start Menu Helper"
#define MyAppVersion "1.1.1"
#define MyAppVersion "1.1.2"
#define MyAppPublisher "Jarik Marwede"
#define MyAppURL "https://github.com/jarikmarwede/Start-Menu-Helper"
#define MyAppExeName "Start Menu Helper.exe"
Expand Down