From 0626aa50baa507ad5bb75d5c2f3a59e025278a75 Mon Sep 17 00:00:00 2001 From: Jason Papakostas Date: Mon, 30 Jan 2017 19:00:42 +0000 Subject: [PATCH 1/3] Specify win32metadata to electron-builder #23 Note: the metadata is persistently cached by Windows at HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2830fbe0..16576e64 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "download-ffmpeg": "bash ./scripts/ffmpeg-dl/dl.sh", "extract-ffmpeg": "bash ./scripts/ffmpeg-dl/extract.sh", "copy-ffmpeg": "rm -rf dist/ffmpeg && mkdir dist/ffmpeg && cp ffmpeg-tmp/binaries/${PLATFORM}_${ARCH}/* dist/ffmpeg", - "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON}", + "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON} --win32metadata.CompanyName=mifi --win32metadata.FileDescription=LosslessCut --win32metadata.OriginalFilename=LosslessCut.exe --win32metadata.ProductName=LosslessCut --win32metadata.InternalName=LosslessCut", "package:darwin_x64": "PLATFORM=darwin ARCH=x64 ICON=app.icns npm run package-single", "package:win32_ia32": "PLATFORM=win32 ARCH=ia32 ICON=app.ico npm run package-single", "package:win32_x64": "PLATFORM=win32 ARCH=x64 ICON=app.ico npm run package-single", From 8e5c40b15c98ad7ef54c66f7618553e3128908f3 Mon Sep 17 00:00:00 2001 From: Jason Papakostas Date: Fri, 3 Feb 2017 10:05:22 -0600 Subject: [PATCH 2/3] Specify app-copyright to electron-builder --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 16576e64..96471ffb 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "download-ffmpeg": "bash ./scripts/ffmpeg-dl/dl.sh", "extract-ffmpeg": "bash ./scripts/ffmpeg-dl/extract.sh", "copy-ffmpeg": "rm -rf dist/ffmpeg && mkdir dist/ffmpeg && cp ffmpeg-tmp/binaries/${PLATFORM}_${ARCH}/* dist/ffmpeg", - "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON} --win32metadata.CompanyName=mifi --win32metadata.FileDescription=LosslessCut --win32metadata.OriginalFilename=LosslessCut.exe --win32metadata.ProductName=LosslessCut --win32metadata.InternalName=LosslessCut", + "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON} --app-copyright='Copyright (c) 2016 Mikael Finstad' --win32metadata.CompanyName=mifi --win32metadata.FileDescription=LosslessCut --win32metadata.OriginalFilename=LosslessCut.exe --win32metadata.ProductName=LosslessCut --win32metadata.InternalName=LosslessCut", "package:darwin_x64": "PLATFORM=darwin ARCH=x64 ICON=app.icns npm run package-single", "package:win32_ia32": "PLATFORM=win32 ARCH=ia32 ICON=app.ico npm run package-single", "package:win32_x64": "PLATFORM=win32 ARCH=x64 ICON=app.ico npm run package-single", From 29469ec91273c92804e9dc3f7eca724f961c4ca2 Mon Sep 17 00:00:00 2001 From: Jason Papakostas Date: Fri, 3 Feb 2017 10:18:11 -0600 Subject: [PATCH 3/3] Bump copyright year to 2017 --- LICENSE | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 91952395..692b5e2f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016 Mikael Finstad +Copyright (c) 2017 Mikael Finstad Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 96471ffb..4da833ca 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "download-ffmpeg": "bash ./scripts/ffmpeg-dl/dl.sh", "extract-ffmpeg": "bash ./scripts/ffmpeg-dl/extract.sh", "copy-ffmpeg": "rm -rf dist/ffmpeg && mkdir dist/ffmpeg && cp ffmpeg-tmp/binaries/${PLATFORM}_${ARCH}/* dist/ffmpeg", - "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON} --app-copyright='Copyright (c) 2016 Mikael Finstad' --win32metadata.CompanyName=mifi --win32metadata.FileDescription=LosslessCut --win32metadata.OriginalFilename=LosslessCut.exe --win32metadata.ProductName=LosslessCut --win32metadata.InternalName=LosslessCut", + "package-single": "npm run copy-ffmpeg && electron-packager dist LosslessCut --out=package --asar.unpackDir=ffmpeg --overwrite --platform=${PLATFORM} --arch=${ARCH} --icon=icon-dist/${ICON} --app-copyright='Copyright (c) 2017 Mikael Finstad' --win32metadata.CompanyName=mifi --win32metadata.FileDescription=LosslessCut --win32metadata.OriginalFilename=LosslessCut.exe --win32metadata.ProductName=LosslessCut --win32metadata.InternalName=LosslessCut", "package:darwin_x64": "PLATFORM=darwin ARCH=x64 ICON=app.icns npm run package-single", "package:win32_ia32": "PLATFORM=win32 ARCH=ia32 ICON=app.ico npm run package-single", "package:win32_x64": "PLATFORM=win32 ARCH=x64 ICON=app.ico npm run package-single",