Commit graph

217 commits

Author SHA1 Message Date
Anthony Lavado 63e0bd1d61 Only create/remove shortcuts on non-service install
Should only remove shortcuts if the install type was non-service. On upgrade, check if the install type was non-service, and if so, set the variables correctly and create shortcuts.
2019-10-16 03:14:12 -04:00
Anthony Lavado 5232302532 Adds icons to shortcuts, fixes nsis warning
Adds the icon as a resource file in the program folder, and uses it for the shortcuts created.
Removes an extra section from the dialog creator file, so NSIS won't show a warning for unused code.
2019-10-16 02:29:37 -04:00
Anthony Lavado dc46620a81 Automatically creates shortcuts for non-service installs
If the user is not installing as a service, then the installer creates a Start Menu shortcut, and a desktop shortcut. Commented out future shortcuts for a tray app.
2019-10-16 02:01:26 -04:00
Anthony Lavado f80343bf9d Fix the Setup Type dialog titles
I had put the title and subtitle in the wrong order. This corrects the issue.
2019-10-16 01:43:53 -04:00
Anthony Lavado 9ad781324e Fix up Setup Type dialog, and add logic for basic setup
Fix up the Setup Type dialog, by removing an unused function from the page.
Adds logic to the installer to check for a basic or advanced setup choice. Ensures that the service is only installed if the "advanced" method is chosen. Note - it may be possible to remove some defaults from the .onInit, considering they get set through the program now.
2019-10-15 04:24:30 -04:00
Anthony Lavado 05fb84ba22 Make service setup an optional component, remove setuptype page config for now 2019-10-12 04:39:34 -04:00
Anthony Lavado 04c4ad731e Begin to add setup type dialog 2019-10-12 03:56:46 -04:00
Anthony Lavado c8ffa2fb1d Set service install default to no 2019-10-12 03:03:33 -04:00
Joshua Boniface f20555bf4a Use NVM to install nodejs v8 and yarn
Prevents failure of the installation of jellyfin-web dependencies due
to the NodeJS version in EPEL being too old. v8 might be a little
conservative but is the earliest compatible version. Instead of using
their repo to install Yarn, use the new nvm binary to install Yarn, thus
forcing it to use the updated NodeJS version.
2019-10-07 23:34:02 -04:00
Erwin de Haan adde41c533
Remove /bin from ffmpeg path. 2019-10-06 22:26:17 +02:00
Erwin de Haan 3925e1dced
Fix extracted path from ffmpeg zip. 2019-10-06 22:20:49 +02:00
Erwin de Haan c7d1206dcb
Switch to custom patched build for ffmpeg 2019-10-06 22:03:44 +02:00
Joshua Boniface 3651755984 Properly build DLL for porable 2019-09-30 01:11:11 -04:00
Joshua M. Boniface 61f2c41b76 Recursively zip Windows packages (#1809)
Without -r the directory is not properly zipped up.
2019-09-29 00:33:31 -04:00
Joshua Boniface 547a6121b0 Remove redundant yarn build command 2019-09-26 22:09:19 -04:00
Joshua Boniface 3b935d8fd0 Clean up old changelog entires from Debian package 2019-09-25 14:54:39 -04:00
Joshua Boniface 15b83f8b55 Clean up and fix Fedora/CentOS builds
This performs a lot of bugfixing and general cleanup to the
Fedora/CentOS builds, including moving the create_tarball into the
docker-build.sh script, remove some old long versions from the spec
file, correcting several bugs with the Docker environment including
splitting them into more discrete layers, and finally making sure
jellyfin-web is included properly in the RPM.
2019-09-25 14:45:15 -04:00
Joshua Boniface 56a879e148 Use redirection instead of tee 2019-09-25 14:20:49 -04:00
Joshua Boniface 4b257b7b4a Clean up web_build_dir in docker-build.sh 2019-09-25 01:36:20 -04:00
Joshua Boniface 172a81b22c Clean up deployment directory
1. Update README.md to remove some old info
2. Remove common.build.sh from all the build scripts
3. Remove common.build.sh script
4. Remove the docker folder as this isn't used at all
2019-09-25 01:28:07 -04:00
Joshua Boniface 5c7ca6b363 Port Windows x86 build to Docker and add web build 2019-09-25 01:27:35 -04:00
Joshua Boniface 93b213b59f Port Windows x64 build to Docker and add web build 2019-09-25 01:27:28 -04:00
Joshua Boniface 3b669521da Port Portable build to Docker and add web build 2019-09-25 01:10:04 -04:00
Joshua Boniface 05f01b2c45 Port MacOS build to Docker and add web build 2019-09-25 01:06:50 -04:00
Joshua Boniface f36b898a4d Port Linux build to Docker and add web build 2019-09-25 01:06:18 -04:00
Joshua Boniface fa9b0d9da1 Add web build to Fedora package build 2019-09-24 23:25:46 -04:00
Joshua Boniface 1c2fd4ef84 Add web build to CentOS package build 2019-09-24 23:24:22 -04:00
Joshua Boniface be3b05df68 Add web build to Ubuntu arm64 package build 2019-09-24 23:17:11 -04:00
Joshua Boniface 601a50e430 Add web build to Ubuntu armhf package build 2019-09-24 23:15:31 -04:00
Joshua Boniface 03d60438e2 Add web build to Ubuntu amd64 package build 2019-09-24 23:13:40 -04:00
Joshua Boniface 9b6720ce80 Add web build to Debian arm64 package build 2019-09-24 23:11:18 -04:00
Joshua Boniface b9e0a0b1ac Add web build to Debian armhf package build 2019-09-24 23:09:47 -04:00
Joshua Boniface d22fd964c2 Add web build to Debian amd64 package build 2019-09-24 23:06:47 -04:00
Joshua Boniface 12f24674fb Fix up Windows build script copy 2019-09-24 22:10:12 -04:00
dkanada 1156b8f100
Merge pull request #1788 from joshuaboniface/ssl-dep-ubu
Include libssl-dev dep in Ubuntu build containers
2019-09-24 13:12:03 +09:00
Anthony Lavado 229bd598b5
Add escapes for path quotes in the NSIS Installer (#1777)
This adds backslashes to escape the `--datadir` path in the Windows Installer. Without this, the path would be dropped at the first space (e.g. `C:\Test Area\Jellyfin` would become `C:\Test`).

Fixes #1773.
2019-09-20 13:45:20 -04:00
Joshua Boniface 260dd37bd5 Include libssl-dev dep in Ubuntu build containers 2019-09-20 11:55:51 -04:00
Erwin de Haan 2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00
Joshua M. Boniface fde9dd2a61
Merge pull request #1693 from joshuaboniface/update-libssl
Update Debian build to Buster and LibSSL 1.1
2019-09-02 21:11:57 -04:00
Joshua Boniface 5552e8cbd7 Add missing build dependency 2019-09-02 20:13:28 -04:00
Joshua Boniface 742102b541 Bump version to 10.4.0 2019-08-31 21:39:10 -04:00
Joshua Boniface 93a668de8b Add libssl-dev dependency 2019-08-31 01:17:23 -04:00
Joshua Boniface 1d5b11f7f6 Update GCC crossbuild to version 8 2019-08-31 01:12:11 -04:00
Joshua Boniface b1c7b88b5b Use latest 2.2.6 dotnet SDK image (2.2.401) 2019-08-31 00:39:46 -04:00
Joshua Boniface bedc2be525 Add libssl-dev build dependency 2019-08-31 00:32:26 -04:00
Joshua Boniface fb37f4a1d5 Use base Debian image in Docker build 2019-08-26 11:05:15 -04:00
Joshua Boniface 5945a638ff Update builds to Debian 10 and OpenSSL to 1.1-only 2019-08-26 11:00:36 -04:00
loli10K 588db95e2a Fix firewall-cmd: Error: INVALID_SERVICE: 'jellyfin' not among existing services 2019-08-20 20:27:31 +02:00
Joshua M. Boniface 94e25e898a
Merge pull request #1511 from crankdoofus/master
Add NSIS installer build support
2019-08-18 13:56:20 -04:00
crankdoofus c6111a7fb5
Change service install user
The default is Network Service, with advanced option to use Local System
2019-07-27 20:23:22 +10:00