develop #4
|
@ -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 "$@";
|
|
@ -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 "$@";
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue