This repository was archived by the owner on Jun 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,21 @@ def check_files():
77 loadingwindow = LoadingWindow ()
88
99 files = [
10- "https://raw.githubusercontent.com/bentettmar/barnotes /main/data/icon.png" ,
11- "https://raw.githubusercontent.com/bentettmar/barnotes /main/data/note.txt"
10+ "https://raw.githubusercontent.com/MenuNote/menunote /main/data/icon.png" ,
11+ "https://raw.githubusercontent.com/MenuNote/menunote /main/data/note.txt"
1212 ]
1313
1414 loadingwindow .update_text ("Checking files..." )
15- if not os .path .exists (os .path .expanduser ("~/Library/Application Support/BarNotes " )):
16- os .makedirs (os .path .expanduser ("~/Library/Application Support/BarNotes " ))
15+ if not os .path .exists (os .path .expanduser ("~/Library/Application Support/MenuNote " )):
16+ os .makedirs (os .path .expanduser ("~/Library/Application Support/MenuNote " ))
1717 loadingwindow .update_text ("Creating directory..." )
1818
1919 loadingwindow .update_text ("Downloading files..." )
2020 for file in files :
21- if not os .path .exists (os .path .expanduser (f"~/Library/Application Support/BarNotes /{ file .split ('/' )[- 1 ]} " )):
21+ if not os .path .exists (os .path .expanduser (f"~/Library/Application Support/MenuNote /{ file .split ('/' )[- 1 ]} " )):
2222 loadingwindow .update_text (f"Downloading { file .split ('/' )[- 1 ]} ..." )
2323 r = requests .get (file )
24- with open (os .path .expanduser (f"~/Library/Application Support/BarNotes /{ file .split ('/' )[- 1 ]} " ), "wb" ) as f :
24+ with open (os .path .expanduser (f"~/Library/Application Support/MenuNote /{ file .split ('/' )[- 1 ]} " ), "wb" ) as f :
2525 f .write (r .content )
2626 loadingwindow .update_text (f"Downloaded { file .split ('/' )[- 1 ]} ..." )
2727
You can’t perform that action at this time.
0 commit comments