Skip to content

Commit 01e8ba8

Browse files
v1.0.38
- MAJOR UPDATE: - Added a native system to load Dark or Light modes and randomize wallpapers. `.theme` files can still be used, see config file - Renamed the script at.ps1 for consistency with my other short-named projects. - Added a wrapper script (`AutoTheme.ps1`) for compatibility with older tasks and existing shortcuts. - Fixed a problem with the script not recognizing it was running from Task Scheduler - Improved geolocation - Many minor fixes
1 parent 3f76078 commit 01e8ba8

File tree

4 files changed

+1644
-1456
lines changed

4 files changed

+1644
-1456
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Extract version from script
3333
id: extract_version
3434
run: |
35-
NEW_VERSION=$(grep -Po '(?<=\$scriptVersion = ")([0-9]+\.[0-9]+\.[0-9]+)' AutoTheme.ps1)
35+
NEW_VERSION=$(grep -Po '(?<=\$scriptVersion = ")([0-9]+\.[0-9]+\.[0-9]+)' at.ps1)
3636
echo "New version: $NEW_VERSION"
3737
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
3838
@@ -64,7 +64,7 @@ jobs:
6464
6565
# 1. Capture block. 2. Remove first/last line.
6666
# 3. Regex: Capture leading spaces (\1), match the hyphen/space, replace with just the leading spaces.
67-
RELEASE_NOTES=$(sed -n '/^.NOTES/,/^#>/p' AutoTheme.ps1 | sed '1d;$d' | sed -E 's/^([[:space:]]*)-[[:space:]]*/\1/')
67+
RELEASE_NOTES=$(sed -n '/^.NOTES/,/^#>/p' at.ps1 | sed '1d;$d' | sed -E 's/^([[:space:]]*)-[[:space:]]*/\1/')
6868
6969
# Combine them.
7070
FULL_RELEASE_NOTES="$(printf "%s\n\n%s" "$RELEASE_NOTES" "$WARNING_MESSAGE")"
@@ -77,7 +77,7 @@ jobs:
7777
- name: Zip files
7878
run: |
7979
mkdir -p release
80-
cp AutoTheme.ps1 Config.ps1 Setup.ps1 AutoTheme.png LICENSE README.md release/
80+
cp at.ps1 Config.ps1 Setup.ps1 AutoTheme.png LICENSE README.md release/
8181
zip -r release-v$NEW_VERSION.zip release/
8282
echo "ZIP_FILE=release-v$NEW_VERSION.zip" >> $GITHUB_ENV
8383

0 commit comments

Comments
 (0)