From fa9c7df4fec02bc45995895cbf94c8eb7741be73 Mon Sep 17 00:00:00 2001 From: meemo Date: Sun, 6 Feb 2022 19:16:50 -0500 Subject: [PATCH] Bump minor version, clean up readme, rename spec file to match new version number --- README.md | 34 +++++++++---------- sudomemoDNS.py | 4 +-- ...moDNS_v1.2.spec => sudomemoDNS_v1.2.1.spec | 2 +- 3 files changed, 19 insertions(+), 21 deletions(-) rename sudomemoDNS_v1.2.spec => sudomemoDNS_v1.2.1.spec (95%) diff --git a/README.md b/README.md index d69a240..3ec841d 100644 --- a/README.md +++ b/README.md @@ -15,19 +15,21 @@ Run the .exe provided in this release. You may have to click past a warning from ## Running on anything else: -Required packages (installable with pip): `requests`, `dnslib` +Required packages are installable with the following command: -Required Python version: 3+, tested with 3.6 + sudo python3 -m pip install -r requirements.txt - sudo sudomemoDNS.py +Required Python version: 3.6+, tested with 3.9.9 + + sudo python3 sudomemoDNS.py + +Note: `python3` is assumed to be the name of your python binary, if it is not then it will need to be substituted with the name and/or path of your binary. ## What you'll see when it starts up -The following will display when you start it up: - +===============================+ | Sudomemo DNS Server | - | Version 1.2 | + | Version 1.2.1 | +===============================+ == Welcome to sudomemoDNS! == @@ -40,24 +42,20 @@ The following will display when you start it up: Then, put these settings in for DNS on your console: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Primary DNS: XXX.XXX.XXX.XXX (NOTE: This value will be unique when you run the program) - Secondary DNS: 8.8.8.8 + Secondary DNS: 008.008.008.008 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ == Getting Help == Need help? Visit our Discord server or check out https://support.sudomemo.net -When entering your DNS settings, if the Primary DNS is displayed like this (this is an example): - -192.168.1.7 - -then you can enter it as follows: - -192.168.001.007 - ## Building on Windows -Install dnslib, requests, and pyinstaller via pip, then modify the paths in the spec file to where sudomemoDNS and the sudomemoDNS icon is stored. +- Install dnslib, requests, and pyinstaller via the following command as an administrator -Then, run the following as an administrator: + python -m pip install -r requirements.txt pyinstaller - pyinstaller.exe sudomemoDNS_v1.2.spec +- Modify the paths in all caps in `sudomemoDNS_v1.2.1.spec` to where sudomemoDNS and the sudomemoDNS icon is stored. + +- Run the following as an administrator: + + pyinstaller sudomemoDNS_v1.2.1.spec diff --git a/sudomemoDNS.py b/sudomemoDNS.py index 53ba036..b0d25c7 100644 --- a/sudomemoDNS.py +++ b/sudomemoDNS.py @@ -26,7 +26,7 @@ def get_platform(): return platforms[sys.platform] -SUDOMEMODNS_VERSION = "1.2" +SUDOMEMODNS_VERSION = "1.2.1" # Adds preceding zeros to IP addresses @@ -55,7 +55,7 @@ MY_IP = get_ip() print("+===============================+") print("| Sudomemo DNS Server |") -print(f"| Version {SUDOMEMODNS_VERSION} |") +print(f"| Version {SUDOMEMODNS_VERSION} |") print("+===============================+\n") print("== Welcome to sudomemoDNS! ==") diff --git a/sudomemoDNS_v1.2.spec b/sudomemoDNS_v1.2.1.spec similarity index 95% rename from sudomemoDNS_v1.2.spec rename to sudomemoDNS_v1.2.1.spec index a06ac5f..8a51ad4 100644 --- a/sudomemoDNS_v1.2.spec +++ b/sudomemoDNS_v1.2.1.spec @@ -23,7 +23,7 @@ exe = EXE(pyz, a.zipfiles, a.datas, [], - name='sudomemoDNS_v1.2', + name='sudomemoDNS_v1.2.1', debug=False, bootloader_ignore_signals=False, strip=False,