diff options
Diffstat (limited to 'net/onedrivegui/files')
-rw-r--r-- | net/onedrivegui/files/onedrivegui.sh.in | 4 | ||||
-rw-r--r-- | net/onedrivegui/files/patch-src_global__config.py | 11 | ||||
-rw-r--r-- | net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop | 18 |
3 files changed, 33 insertions, 0 deletions
diff --git a/net/onedrivegui/files/onedrivegui.sh.in b/net/onedrivegui/files/onedrivegui.sh.in new file mode 100644 index 000000000000..224e2878df1e --- /dev/null +++ b/net/onedrivegui/files/onedrivegui.sh.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% || exit 1 +exec %%DATADIR%%/OneDriveGUI.py "$@" diff --git a/net/onedrivegui/files/patch-src_global__config.py b/net/onedrivegui/files/patch-src_global__config.py new file mode 100644 index 000000000000..3455329b4b49 --- /dev/null +++ b/net/onedrivegui/files/patch-src_global__config.py @@ -0,0 +1,11 @@ +--- src/global_config.py.orig 2025-06-16 11:23:57 UTC ++++ src/global_config.py +@@ -7,7 +7,7 @@ from configparser import ConfigParser + from configparser import ConfigParser + + +-DIR_PATH = os.path.dirname(os.path.realpath(__file__)) ++DIR_PATH = "/usr/local/share/onedrivegui" + PROFILES_FILE = os.path.expanduser("~/.config/onedrive-gui/profiles") + + diff --git a/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop b/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop new file mode 100644 index 000000000000..02801c7b71da --- /dev/null +++ b/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop @@ -0,0 +1,18 @@ +--- src/resources/OneDriveGUI.desktop.orig 2025-06-16 11:23:57 UTC ++++ src/resources/OneDriveGUI.desktop +@@ -1,8 +1,10 @@ Name=OneDriveGUI + [Desktop Entry] + Name=OneDriveGUI ++GenericName=OneDrive Client for FreeBSD + StartupNotify=true +-Exec=/usr/bin/python3 /home/bob/host_share/Python/OneDriveGUI/src/OneDriveGUI.py ++Exec=onedrivegui + Terminal=false +-Path=/home/bob/host_share/Python/OneDriveGUI/src/resources/images +-Icon=/home/bob/host_share/Python/OneDriveGUI/src/resources/images/icons8-clouds-48.png +-Type=Application +\ No newline at end of file ++Icon=onedrivegui ++Categories=Network; ++Type=Application ++ |