From 6e160bb8f8de30de7fa48faee8a9dfd41f326666 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 24 Dec 2020 15:26:35 -0800 Subject: [PATCH] Remove Windows exe auto updater --- .github/workflows/publish-installers.yml | 5 - data/interfaces/default/base.html | 4 +- data/interfaces/default/settings.html | 2 +- package/Tautulli-windows.spec | 40 +---- package/Tautulli.nsi | 17 -- package/TautulliUpdateTask.xml | Bin 2964 -> 0 bytes package/requirements-windows.txt | 1 - package/updater-windows.py | 194 ----------------------- plexpy/__init__.py | 20 +-- plexpy/versioncheck.py | 11 +- 10 files changed, 14 insertions(+), 280 deletions(-) delete mode 100644 package/TautulliUpdateTask.xml delete mode 100644 package/updater-windows.py diff --git a/.github/workflows/publish-installers.yml b/.github/workflows/publish-installers.yml index d7140f18..120b102b 100644 --- a/.github/workflows/publish-installers.yml +++ b/.github/workflows/publish-installers.yml @@ -71,11 +71,6 @@ jobs: run: | pyinstaller -y ./package/Tautulli-${{ matrix.os }}.spec - - name: Move Windows Updater Files - if: matrix.os == 'windows' - run: | - Move-Item dist\updater\* dist\Tautulli\ -Force - - name: Create Windows Installer uses: joncloud/makensis-action@v3.4 if: matrix.os == 'windows' diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index 319852e9..e6f21deb 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -61,7 +61,7 @@ Update your Docker container or Dismiss % elif plexpy.INSTALL_TYPE == 'snap': Update your Snap package or Dismiss - % elif plexpy.INSTALL_TYPE == 'macos': + % elif plexpy.INSTALL_TYPE in ('windows', 'macos'): Download and install the latest version or Dismiss % else: Update or Dismiss @@ -350,7 +350,7 @@ ${next.modalIncludes()} msg += 'Update your Docker container or Dismiss'; } else if (result.install_type === 'snap') { msg += 'Update your Snap package or Dismiss'; - } else if (result.install_type === 'macos') { + } else if (result.install_type === 'windows' || result.install_type === 'macos') { msg += 'Download and install the latest version or Dismiss' } else { msg += 'Update or Dismiss'; diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 2165cf68..3a60891a 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -220,7 +220,7 @@

Check for Tautulli updates periodically.

- % if not plexpy.SNAP and not (plexpy.FROZEN and common.PLATFORM == 'Darwin'): + % if not plexpy.SNAP and not plexpy.FROZEN: