From f588e33f3a1fb9c158769b8a99ef5637577bc094 Mon Sep 17 00:00:00 2001 From: Heejin Lee Date: Sun, 13 May 2018 23:11:14 +0900 Subject: [PATCH] Remove chocolatey support (#260) --- chocolatey/Hain.nuspec | 25 ------------------------- chocolatey/tools/chocolateyInstall.ps1 | 7 ------- gulpfile.babel.js | 10 +--------- 3 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 chocolatey/Hain.nuspec delete mode 100644 chocolatey/tools/chocolateyInstall.ps1 diff --git a/chocolatey/Hain.nuspec b/chocolatey/Hain.nuspec deleted file mode 100644 index fe1a0fd6..00000000 --- a/chocolatey/Hain.nuspec +++ /dev/null @@ -1,25 +0,0 @@ - - - - Hain - ${version} - Hain - Heejin Lee - FlorianRappl - https://github.com/appetizermonster/hain/blob/master/LICENSE - https://github.com/appetizermonster/hain/ - https://github.com/appetizermonster/hain/releases - https://github.com/appetizermonster/hain/tree/master/chocolatey - https://github.com/appetizermonster/hain - https://github.com/appetizermonster/hain/tree/master/docs - https://github.com/appetizermonster/hain/issues - https://raw.githubusercontent.com/appetizermonster/hain/master/build/icon.ico - false - An 'alt+space' launcher for Windows, built with Electron. - An alternative to Alfred on Windows, that is made with JavaScript. - alfred hain windows electron launcher javascript program - - - - - \ No newline at end of file diff --git a/chocolatey/tools/chocolateyInstall.ps1 b/chocolatey/tools/chocolateyInstall.ps1 deleted file mode 100644 index 4b62e5fc..00000000 --- a/chocolatey/tools/chocolateyInstall.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -$packageName = 'Hain' -$installerType = 'exe' # Squirrel Installer / Updater -$url64 = 'https://github.com/appetizermonster/hain/releases/download/v${version}/HainSetup-x64-v${version}.exe' -$url32 = 'https://github.com/appetizermonster/hain/releases/download/v${version}/HainSetup-ia32-v${version}.exe' -$silentArgs = "" # The installation is silent by default - -Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" \ No newline at end of file diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 710ad10c..0796effa 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -11,7 +11,6 @@ const zip = require('gulp-zip'); const electronInstaller = require('electron-winstaller'); const fs = require('fs'); const del = require('del'); -const replace = require('gulp-replace'); const appPkg = require('./app/package.json'); gulp.task('deps', () => { @@ -158,14 +157,7 @@ gulp.task('build-installer', ['build', 'build-zip'], () => { return buildInstaller('ia32').then(() => buildInstaller('x64')); }); -gulp.task('build-chocolatey', () => { - return gulp - .src('./chocolatey/**/*') - .pipe(replace('${version}', appPkg.version)) - .pipe(gulp.dest('./out/chocolatey/')); -}); - -gulp.task('build-all', ['build-zip', 'build-installer', 'build-chocolatey']); +gulp.task('build-all', ['build-zip', 'build-installer']); gulp.task('watch', ['renderer'], () => { const opts = {