We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad3fcc commit df2f3f0Copy full SHA for df2f3f0
.github/workflows/build.yml
@@ -43,6 +43,16 @@ jobs:
43
run: |
44
Get-ChildItem dist
45
46
+ - name: Update HTML files to include './' in src/href attributes
47
+ run: |
48
+ Get-ChildItem dist\*.html | ForEach-Object {
49
+ (Get-Content $_.FullName) -replace 'src="(/assets/)', 'src="./assets/' -replace 'href="(/assets/)', 'href="./assets/' | Set-Content $_.FullName
50
+ }
51
+
52
+ - name: List updated HTML files
53
54
+ Get-ChildItem dist\*.html
55
56
- name: Clear Electron Builder Cache
57
58
if (Test-Path "$HOME\.cache\electron-builder") {
0 commit comments