Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
ambition_echo committed Nov 19, 2022
1 parent 7c4e063 commit d36e443
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion earth_wallpaper/main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/python3
import sys, os
# 添加path路径,否则有可能会找不到模块
sys.path.append(os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
from PySide6.QtWidgets import QApplication, QMessageBox
from earth_wallpaper.systemtray import SystemTray
from PySide6.QtCore import QSharedMemory
import sys

def main():
app = QApplication()
Expand Down

0 comments on commit d36e443

Please sign in to comment.