Reduced app name locations to change

This commit is contained in:
itdominator 2022-10-13 21:19:40 -05:00
parent e427cddec9
commit 39c1306aae
2 changed files with 2 additions and 5 deletions

View File

@ -5,13 +5,10 @@ A template project for Python with Gtk applications.
* PyGObject
### Note
There are several "\<change_me\>" strings that need to be set according to your app's name located at:
There is a "\<change_me\>" string that needs to be set according to your app's name located at:
* \_\_builtins\_\_.py
* \_\_main\_\_.py
* user_config/usr/share/app_name
In addition, check the 'ipc_server.py' \_\_init\_\_ section to change the socket information.
For the user_config, traverse all the way down and copy the contents to either:
* /usr/share/\<your_app_name_as_all_lowercase\>
* /\<your_home_dir\>/.config/\<your_app_name_as_all_lowercase\>

View File

@ -24,7 +24,7 @@ if __name__ == "__main__":
''' Set process title, get arguments, and create GTK main thread. '''
try:
setproctitle('<change_me>')
setproctitle(f'{app_name}')
faulthandler.enable() # For better debug info
parser = argparse.ArgumentParser()