Change build

This commit is contained in:
Isaac Shoebottom 2022-09-29 18:19:58 -03:00
parent 3f66b3154d
commit 2f78e1d67b
4 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
output\*

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,8 @@
$compress = @{ #$compress = @{
Path = "v2\*" # Path = "v2\*"
CompressionLevel = "NoCompression" # CompressionLevel = "NoCompression"
DestinationPath = "output\SearchSwitch.zip" # DestinationPath = "output\SearchSwitch.zip"
} #}
Compress-Archive @compress -Force #Compress-Archive @compress -Force
Copy-Item -Path .\output\SearchSwitch.zip -Destination .\output\SearchSwitch.xpi -Force #Copy-Item -Path .\output\SearchSwitch.zip -Destination .\output\SearchSwitch.xpi -Force
web-ext build -s ".\v2\" -a ".\output\"