-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated & cleaned up code comments - Removed parenthesis from platform names - Removed `window.columnconfigure` as it's implied and not needed - Added shell variable to determine which scripts to install during updates - Added Fire OS version, Fire Tools version, and platform output to terminal - Made update tool more resilient to internet issues - Update tool now uses `with` context manager to ensure files are fully downloaded and written before closing - Cached "ft-identifying-fire-tablets.html" is now deleted during updates - "requirements.txt" will now get updated - Remade update tool and it now tells you which files are being updated and can now add or remove files in future updates - Simplified folder deletion during failed package extraction - Sped up package list generation by pre-formatting list on device - Made package list bigger and scaled the scrollable frame better - Temporary "packagelist" files are now deleted when application closes - Cleaned up code by using some suggestions from Pylint - Made custom disable/enable/extract terminal output cleaner by adding a blank line at the end - Disable DNS will now remove "private_dns_specifier" key from device
- Loading branch information
Showing
7 changed files
with
92 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
## Updated main.py, version 04/23/2024 | ||
- Fixed missing quotation marks breaking Custom DNS on Windows | ||
- Fixed update tool breaking when there's more than one decimal point in version number | ||
- Version bump (24.04.1) | ||
## Updated main.py, identify, version 05/01/2024 | ||
- Version bump (24.05) | ||
- Updated & cleaned up code comments | ||
- Removed parenthesis from platform names | ||
- Removed `window.columnconfigure` as it's implied and not needed | ||
- Added shell variable to determine which scripts to install during updates | ||
- Added Fire OS version, Fire Tools version, and platform output to terminal | ||
- Made update tool more resilient to internet issues | ||
- Update tool now uses `with` context manager to ensure files are fully downloaded and written before closing | ||
- Cached "ft-identifying-fire-tablets.html" is now deleted during updates | ||
- "requirements.txt" will now get updated | ||
- Remade update tool and it now tells you which files are being updated and can now add or remove files in future updates | ||
- Simplified folder deletion during failed package extraction | ||
- Sped up package list generation by pre-formatting list on device | ||
- Made package list bigger and scaled the scrollable frame better | ||
- Temporary "packagelist" files are now deleted when application closes | ||
- Cleaned up code by using some suggestions from Pylint | ||
- Made custom disable/enable/extract terminal output cleaner by adding a blank line at the end | ||
- Disable DNS will now remove "private_dns_specifier" key from device |
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,10 +1,14 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Find Device Name by Regexing Model Number & Subtracting 2 Lines on Amazon Developer Docs (Cache Until Next Update) | ||
device="Unknown/Unsupported" | ||
# Set Placeholder Values for Device Name & Fire OS Version | ||
device="Unknown/Undetected" | ||
fireos="Unknown" | ||
|
||
# Find Device Name by Regexing Model Number & Subtracting 2 Lines on Amazon Developer Docs, Then get Fire OS Version | ||
if (adb shell echo "Device Found" >/dev/null 2>&1); then | ||
model=$(adb shell getprop ro.product.model) | ||
[ -e ft-identifying-tablet-devices.html ] || curl -O "https://developer.amazon.com/docs/fire-tablets/ft-identifying-tablet-devices.html" | ||
device=$(grep -B 2 "$model" < ft-identifying-tablet-devices.html | grep -E -o "(Kindle|Fire) (.*?)[G|g]en\)") | ||
fireos=$(adb shell getprop ro.build.mktg.fireos) | ||
fi | ||
printf "%s" "Device: $device" | ||
printf "%s\n" "$device" "$fireos" |
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
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 +1 @@ | ||
24.04.1 | ||
24.05 |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.