Some fixes
This commit is contained in:
parent
5d68c51e28
commit
c84a9e1f87
|
@ -7,7 +7,7 @@ script:
|
|||
# Make usr and icons dirs
|
||||
- mkdir -p AppDir/usr/src
|
||||
- mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps/
|
||||
- git clone https://github.com/Dummerle/Rare
|
||||
- git clone https://github.com/Dummerle/Rare --recurse-submodules
|
||||
- cp -r Rare/rare AppDir/usr/src/rare
|
||||
- cp -r Rare/legendary AppDir/usr/src/
|
||||
- cp AppDir/usr/src/rare/__main__.py AppDir/usr/src/__main__.py
|
||||
|
|
|
@ -3,3 +3,4 @@ include rare/languages/*.qm
|
|||
include rare/resources/images/*
|
||||
recursive-include rare/resources/stylesheets/* *
|
||||
include rare/resources/colors/*
|
||||
recursive-include legendary/* *
|
||||
|
|
|
@ -59,16 +59,14 @@ def main():
|
|||
if args.subparser == "launch":
|
||||
args.silent = True
|
||||
|
||||
|
||||
# fix error in cx_freeze
|
||||
|
||||
from rare.app import start
|
||||
start(args)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import multiprocessing
|
||||
# fix error in cx_freeze
|
||||
|
||||
import multiprocessing
|
||||
multiprocessing.freeze_support()
|
||||
sys.path.insert(0, os.path.join(pathlib.Path(__file__).parent.parent.absolute(), "legendary"))
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue