Fix startmenu and release.yml
This commit is contained in:
parent
16ffdb46e0
commit
5fa1465719
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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
2
.gitignore
vendored
|
@ -15,3 +15,5 @@ __pycache__
|
|||
/venv311/
|
||||
/test.py
|
||||
/.eggs
|
||||
/appimage-builder-cache/
|
||||
/AppDir/
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue