forked from sle118/squeezelite-esp32
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master-v4.3' into cherry-jz-master
- Loading branch information
1 parent
b87ac59
commit 4933033
Showing
24 changed files
with
111 additions
and
32 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
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
param ( | ||
[Parameter(Position=0, Mandatory=$false)] | ||
[ValidateSet("t", "u")] | ||
[string]$option | ||
) | ||
|
||
# Define the directory to apply changes to | ||
$targetDir = "components\wifi-manager\webapp\dist" | ||
|
||
# Get the current directory | ||
$currentDir = Get-Location | ||
|
||
# Get list of files from the file system | ||
$fsFiles = Get-ChildItem -Recurse $targetDir -File | ForEach-Object { | ||
$_.FullName.Substring($currentDir.Path.Length + 1).Replace("\", "/") | ||
} | ||
|
||
# Get list of files from the Git index | ||
$indexFiles = git ls-files -s $targetDir | ForEach-Object { | ||
($_ -split "\s+")[3] | ||
} | ||
|
||
# Combine and remove duplicates | ||
$allFiles = $fsFiles + $indexFiles | Sort-Object -Unique | ||
|
||
# Apply the git command based on the option | ||
$allFiles | ForEach-Object { | ||
$relativePath = $_ | ||
$isInIndex = $indexFiles -contains $relativePath | ||
|
||
if ($null -eq $option) { | ||
$status = if ($isInIndex) { 'tracked' } else { 'not tracked' } | ||
Write-Host "$relativePath is $status" | ||
} | ||
elseif ($isInIndex) { | ||
if ($option -eq "t") { | ||
git update-index --no-skip-worktree $relativePath | ||
Write-Host "Started tracking changes in $relativePath" | ||
} | ||
elseif ($option -eq "u") { | ||
git update-index --skip-worktree $relativePath | ||
Write-Host "Stopped tracking changes in $relativePath" | ||
} | ||
} | ||
else { | ||
Write-Host "File $relativePath is not tracked." | ||
} | ||
} |
File renamed without changes.
Empty file.
Empty file.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
...ger/webapp/dist/js/index.b02584.bundle.js → ...ger/webapp/dist/js/index.1b8c7b.bundle.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
components/wifi-manager/webapp/dist/js/index.1b8c7b.bundle.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
1 change: 0 additions & 1 deletion
1
components/wifi-manager/webapp/dist/js/index.b02584.bundle.js.map
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...app/dist/js/node_vendors.b02584.bundle.js → ...app/dist/js/node_vendors.1b8c7b.bundle.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+86.9 KB
.../dist/js/node_vendors.b02584.bundle.js.gz → .../dist/js/node_vendors.1b8c7b.bundle.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
...dist/js/node_vendors.b02584.bundle.js.map → ...dist/js/node_vendors.1b8c7b.bundle.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,5 +1,5 @@ | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/css/index.1ab179394339385e0a02.css.gz BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/favicon-32x32.png BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/index.html.gz BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/js/index.b02584.bundle.js.gz BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/js/node_vendors.b02584.bundle.js.gz BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/js/index.1b8c7b.bundle.js.gz BINARY) | ||
target_add_binary_data( __idf_wifi-manager webapp/dist/js/node_vendors.1b8c7b.bundle.js.gz BINARY) |
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
Binary file not shown.
Binary file not shown.