aboutsummaryrefslogtreecommitdiff
path: root/src/main/updater/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/updater/index.ts')
-rw-r--r--src/main/updater/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/updater/index.ts b/src/main/updater/index.ts
index 7036112..32d5cd6 100644
--- a/src/main/updater/index.ts
+++ b/src/main/updater/index.ts
@@ -16,4 +16,5 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import(IS_STANDALONE ? "./http" : "./git");
+if (!IS_UPDATER_DISABLED)
+ import(IS_STANDALONE ? "./http" : "./git");