Reduced app name locations to change
This commit is contained in:
parent
e427cddec9
commit
39c1306aae
|
@ -5,13 +5,10 @@ A template project for Python with Gtk applications.
|
||||||
* PyGObject
|
* PyGObject
|
||||||
|
|
||||||
### Note
|
### 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
|
* \_\_builtins\_\_.py
|
||||||
* \_\_main\_\_.py
|
|
||||||
* user_config/usr/share/app_name
|
* 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:
|
For the user_config, traverse all the way down and copy the contents to either:
|
||||||
* /usr/share/\<your_app_name_as_all_lowercase\>
|
* /usr/share/\<your_app_name_as_all_lowercase\>
|
||||||
* /\<your_home_dir\>/.config/\<your_app_name_as_all_lowercase\>
|
* /\<your_home_dir\>/.config/\<your_app_name_as_all_lowercase\>
|
||||||
|
|
|
@ -24,7 +24,7 @@ if __name__ == "__main__":
|
||||||
''' Set process title, get arguments, and create GTK main thread. '''
|
''' Set process title, get arguments, and create GTK main thread. '''
|
||||||
|
|
||||||
try:
|
try:
|
||||||
setproctitle('<change_me>')
|
setproctitle(f'{app_name}')
|
||||||
faulthandler.enable() # For better debug info
|
faulthandler.enable() # For better debug info
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
Loading…
Reference in New Issue