1
0
Fork 0
mirror of synced 2024-05-18 03:22:42 +12:00

Fix startmenu and release.yml

This commit is contained in:
Dummerle 2021-12-18 22:50:17 +01:00
parent 16ffdb46e0
commit 5fa1465719
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1
3 changed files with 3 additions and 4 deletions

View file

@ -38,9 +38,6 @@ jobs:
run: |
sudo apt install python3-all python3-stdeb dh-python python3-setuptools python3-wheel
sudo pip install -r requirements.txt
- name: Install legendary
run: |
pip install ./rare/legendary
- name: run python setup
run: |
python3 setup.py sdist

2
.gitignore vendored
View file

@ -15,3 +15,5 @@ __pycache__
/venv311/
/test.py
/.eggs
/appimage-builder-cache/
/AppDir/

View file

@ -104,7 +104,7 @@ class RareSettings(QWidget, Ui_RareSettings):
self.start_menu_link = os.path.expanduser("~/.local/share/applications/Rare.desktop")
elif platform.system() == "Windows":
self.desktop_file = os.path.expanduser("~/Desktop/Rare.lnk")
self.start_menu_link = os.path.expandvars("%appdata%\\Microsoft\\Windows\\Start Menu")
self.start_menu_link = os.path.expandvars("%appdata%\\Microsoft\\Windows\\Start Menu\\Rare.lnk")
else:
self.desktop_link_btn.setText(self.tr("Not supported"))
self.desktop_link_btn.setDisabled(True)