Update get-iso
This commit is contained in:
parent
885726c74d
commit
a21252cfc6
1 changed files with 2 additions and 3 deletions
5
get-iso
5
get-iso
|
@ -12,12 +12,11 @@ import time
|
||||||
import requests.exceptions
|
import requests.exceptions
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
PROG_VERSION = "0.4"
|
||||||
DEF_URL = \
|
DEF_URL = \
|
||||||
"https://gitlab.manjaro.org/webpage/iso-info/-/raw/master/file-info.json"
|
"https://gitlab.manjaro.org/webpage/iso-info/-/raw/master/file-info.json"
|
||||||
FOLDER = Path.home()
|
FOLDER = Path.home()
|
||||||
PROG_NAME = os.path.basename(__file__)
|
PROG_NAME = os.path.basename(__file__)
|
||||||
PROG_VERSION = "0.3"
|
|
||||||
GNU_URL = "https://www.gnu.org/licenses/gpl.html"
|
GNU_URL = "https://www.gnu.org/licenses/gpl.html"
|
||||||
REVIEW_URL = \
|
REVIEW_URL = \
|
||||||
"https://api.github.com/repos/manjaro/release-review/releases/latest"
|
"https://api.github.com/repos/manjaro/release-review/releases/latest"
|
||||||
|
@ -226,4 +225,4 @@ if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\n" + "Exit: interrupted by the user.")
|
print("\n" + "Exit: interrupted by the user.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
Loading…
Reference in a new issue