Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Edge skeleton and TravisCI deployment config for Windo… (#156)
feat: add Edge skeleton and TravisCI deployment config for Windows
- Loading branch information
Showing
8 changed files
with
73 additions
and
9,856 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ dist/ | |
node_modules | ||
.env | ||
npm-debug.log | ||
edge/Extension/ |
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,3 +1,32 @@ | ||
language: node_js | ||
node_js: | ||
- lts/* | ||
|
||
matrix: | ||
include: | ||
- os: windows | ||
env: | ||
- DEPLOYMENT=TRUE | ||
- TRAVIS_BUILD_PATH="C:\Users\travis\build\timbru31\amazon-tag-remover" | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: ytS6KobiOOhd78JATaktj6OcV8dde8z9Gf0PDbLMwWS/usmxnwKzOwRNnveV8VFFqeEi4y6KQdxAFcd7m2WO2YOYCFPKZHqyc956qKHDZuIjD2/8PsTYb7iG8Z4VTTU7240dMCn0BEwILH5/GpjEykqvoVgBpFxsfid8svsuniWolwH69FxQ006jh6IJ/Mo6jyaEsDxF4dy4MLpmMFMp4xDKR8sqVGj5kb8+nCJn2qlvWetG5v/TE9yeMGXinZPs4VaY7YS1JjOj/Buc8Lfjy6lFfD5T32ywGVoepi3LgD634Ee+K5Oe64lauJrOaCB5HWbmBBE//Vr8hfIDIVeFaYI/x4Z1Xr6CHbP9PNQacFw+PZxC1WuwoiPjJIweU+N6foIyetshCJawxrkjkZ7Vb6VQbZ4rO8oRG1HcHgNSD2LBy8RdZj5t+XwzjsrPeT8mf3ARC2KQDgWYQv8ToV9O80RaeYtm1W5DWLUNsrSrWtdGqkEYnP4idHsaJnEUieZjkjdcyfcckQU0cOaW/RipdTl3j3HfwQuiuCsRVjuqlnJNghxKsrbu/mUHqFFDGqvUKW70u359Vs53KR/khXHCnaX6e6S+LC6ZnekUTmApYo6oS/Z1s+hYyOkTIMowNcbsFq4MsT8FXnxk0VJbV0uI+d2GnT7PaGiTJbDf2u+ALW0= | ||
file: AmazonTagRemover.appx | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
- os: linux | ||
|
||
script: | ||
- npm test | ||
- | | ||
if [ ! -z "$TRAVIS_TAG" -a "$DEPLOYMENT" = "TRUE" ]; then | ||
npm run build:prod | ||
# No symlink support yet... https://travis-ci.community/t/git-symlinks-support/274 | ||
cd edge | ||
mkdir Extension | ||
cp -r ../dist/* Extension | ||
cd .. | ||
powershell -command "& 'C:\Program Files (x86)\Windows Kits\10\bin\x64\MakeAppx.exe' pack /d '$TRAVIS_BUILD_PATH\edge' /p '$TRAVIS_BUILD_PATH\AmazonTagRemover.appx'" | ||
fi |
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,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" | ||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" | ||
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" IgnorableNamespaces="uap3"> | ||
<Identity Name="26440TimBrust.AmazonTagRemover" Publisher="CN=23B7F759-C54C-401E-B405-46568076E906" Version="0.5.2.0" /> | ||
|
||
<Properties> | ||
<DisplayName>Amazon Tag Remover</DisplayName> | ||
<PublisherDisplayName>Tim Brust</PublisherDisplayName> | ||
<Logo>Assets\StoreLogo.png</Logo> | ||
</Properties> | ||
|
||
<Dependencies> | ||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14800.0" /> | ||
</Dependencies> | ||
|
||
<Resources> | ||
<Resource Language="en-us" /> | ||
</Resources> | ||
|
||
<Applications> | ||
<Application Id="App"> | ||
<uap:VisualElements AppListEntry="none" DisplayName="Amazon Tag Remover" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="Remove the Amazon affiliate tracking ID (tag) from amazon links" BackgroundColor="white"> | ||
</uap:VisualElements> | ||
<Extensions> | ||
<uap3:Extension Category="windows.appExtension"> | ||
<uap3:AppExtension Name="com.microsoft.edge.extension" Id="EdgeExtension" PublicFolder="Extension" DisplayName="Amazon Tag Remover"> | ||
<uap3:Properties> | ||
<Capabilities> | ||
<Capability Name="websiteInfo"/> | ||
<Capability Name="browserWebRequest"/> | ||
<Capability Name="browserStorage"/> | ||
<Capability Name="websiteContent"/> | ||
</Capabilities> | ||
</uap3:Properties> | ||
</uap3:AppExtension> | ||
</uap3:Extension> | ||
</Extensions> | ||
</Application> | ||
</Applications> | ||
</Package> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.