develop #4

Merged
itdominator merged 4 commits from develop into master 2022-09-02 03:25:45 +00:00
3 changed files with 21 additions and 5 deletions
Showing only changes of commit 7abbee9182 - Show all commits

View File

@ -0,0 +1,17 @@
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
cd "$(dirname "")"
echo "Working Dir: " $(pwd)
source "/home/abaddon/Portable_Apps/py-venvs/gtk-apps-venv/venv/bin/activate"
python -m nuitka --onefile --follow-imports --linux-onefile-icon="/home/abaddon/.config/solarfm/solarfm.png" solarfm/__main__.py -o solarfm.a
}
main "$@";

View File

@ -8,11 +8,10 @@
function main() { function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )" cd "$(dirname "")"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd) echo "Working Dir: " $(pwd)
source "/home/abaddon/Portable_Apps/py-venvs/flask-apps-venv/venv/bin/activate" source "/home/abaddon/Portable_Apps/py-venvs/gtk-apps-venv/venv/bin/activate"
python ./solarfm python -m nuitka --follow-imports --standalone --linux-onefile-icon="/home/abaddon/.config/solarfm/solarfm.png" solarfm/__main__.py
} }
main "$@"; main "$@";

View File

@ -120,7 +120,7 @@ class Controller_Data:
self.warning_color = self.settings.get_warning_color() self.warning_color = self.settings.get_warning_color()
self.error_color = self.settings.get_error_color() self.error_color = self.settings.get_error_color()
sys.excepthook = self.custom_except_hook # sys.excepthook = self.custom_except_hook
self.window.connect("delete-event", self.tear_down) self.window.connect("delete-event", self.tear_down)
GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, self.tear_down) GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, self.tear_down)