This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
from core.backend import main as m; import sys, os; os.system('cls' if os.name == 'nt' else 'clear') | ||
from core.backend import main as m | ||
import sys, os | ||
os.system('cls' if os.name == 'nt' else 'clear') | ||
|
||
|
||
music_option = True # change to False if you don't want want to play music while compling | ||
music_path = 'music.mp3' # change to the path of your music file | ||
|
||
|
||
|
||
if sys.argv[1] == '': | ||
print('\u001b[31;1mThe filename you put was either invalid or mismathced, enter file to run : \u001b[32;1m', end='') | ||
filename = input() | ||
print('\u001b[0m') | ||
else: | ||
filename = sys.argv[1] | ||
|
||
|
||
|
||
Version = '2.4.5' # don't change this unless you know what you are doing | ||
if __name__ == '__main__': m(filename, music_option, Version, music_path, sys.argv) # don't change this unless you know what you are doing | ||
else: print('\u001b[41;1mYou are not allowed to import this file\u001b[0m') # don't change this unless you know what you are doing | ||
|
||
if __name__ == '__main__': | ||
m(filename, music_option, Version, music_path, sys.argv) # don't change this unless you know what you are doing | ||
|
||
else: | ||
print('\u001b[41;1mYou are not allowed to import this file\u001b[0m') # don't change this unless you know what you are doing |