Skip to content

Commit

Permalink
Revert "Feat GitHub (#46)" (#47)
Browse files Browse the repository at this point in the history
This reverts commit 108f331.
  • Loading branch information
khlam authored Dec 11, 2018
1 parent 108f331 commit 59f2270
Show file tree
Hide file tree
Showing 10 changed files with 313 additions and 1,321 deletions.
10 changes: 3 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Execute tests on all pushes to any branch except master and dev
# Execute tests on all pushes to any branch
-
branches:
except:
- master
- dev
cache:
- node_modules
environment:
Expand Down Expand Up @@ -52,9 +48,9 @@
- npm run build
- npm run package-win
after_build:
- ps: 7z a WorldOfAddons-$env:package_version-$env:rel_type-win32x64.zip $env:APPVEYOR_BUILD_FOLDER\release\*.exe $env:APPVEYOR_BUILD_FOLDER\README.md $env:APPVEYOR_BUILD_FOLDER\LICENSE.md
- ps: 7z a WorldOfAddons-$env:package_version-$env:rel_type-win32x64.zip $env:APPVEYOR_BUILD_FOLDER\release
artifacts:
- path: WorldOfAddons-$(package_version)-$(rel_type)-win32x64.zip
- path: release
name: WorldOfAddons-$(package_version)-$(rel_type)-win32x64
shallow_clone: true
clone_depth: 1
Expand Down
3 changes: 1 addition & 2 deletions constants/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const HOSTNAMES = {
CURSEFORGE: 'CURSEFORGE',
WOWINTERFACE: 'WOWINTERFACE',
GITHUB: 'GITHUB'
WOWINTERFACE: 'WOWINTERFACE'
}

export const MIN_WINDOW_SIZE = { width: 850, height: 600 }
Expand Down
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ ipcMain.on('newURL', (e, newURL) => {
console.log('Received new url ' + newURL)
console.log('\tSending url to be matched with host and parse addon page')
const URLObj = checkWhichHost(newURL)
console.log(URLObj)
parseAddonDetails(URLObj).then(addonObj => {
if (!installedAddonsDict.hasOwnProperty(addonObj.name)) {
mainWindow.webContents.send('modAddonObj', addonObj)
Expand Down
Loading

0 comments on commit 59f2270

Please sign in to comment.