Compare commits

..

39 Commits

Author SHA1 Message Date
FinnHornhoover 7f9c5d90a1 fixed offline cache enabled condition 2024-04-06 02:31:59 +03:00
FinnHornhoover 17f194810c added comments 2024-04-06 02:31:59 +03:00
FinnHornhoover 87072b0789 cleaned up and added docstrings to cache handler 2024-04-06 02:31:59 +03:00
FinnHornhoover e933bc52fe fixed added versions not showing up immediately 2024-04-06 02:31:59 +03:00
FinnHornhoover 1078778e16 added linguist-vendored 2024-04-06 02:31:59 +03:00
FinnHornhoover 5dca39a17e fixed config json read, limited hash check 2024-04-06 02:31:59 +03:00
FinnHornhoover 0eca42cdf8 fixed valdator function name 2024-04-06 02:31:59 +03:00
FinnHornhoover fa0bdd7b1a fixed hash check timing on config change 2024-04-06 02:31:59 +03:00
FinnHornhoover feafd8d17f added hash check when cache location is changed 2024-04-06 02:31:59 +03:00
FinnHornhoover 6a7b029539 added config modal, bumped version 2024-04-06 02:31:59 +03:00
FinnHornhoover 171177b606 added more proper initial check handling 2024-04-06 02:31:59 +03:00
FinnHornhoover 1c2cf41e97 added default ip, regex for version names 2024-04-06 02:31:59 +03:00
FinnHornhoover 0201f11333 added fixes for validation 2024-04-06 02:31:59 +03:00
FinnHornhoover a859590ef9 fixed version url and path bugs, added validation 2024-04-06 02:31:59 +03:00
FinnHornhoover 356e811bac WIP custom build adjustments 2024-04-06 02:31:57 +03:00
FinnHornhoover cdabb36639 added build management, WIP custom cache checks 2024-04-06 02:31:56 +03:00
FinnHornhoover 547ca778b0 by default, always use cdn 2024-04-06 02:31:56 +03:00
FinnHornhoover 6bae0d1ff6 removed async, adjusted load logic, and hash check 2024-04-06 02:31:56 +03:00
FinnHornhoover 11f0c61a67 edited gitignore for extra files 2024-04-06 02:31:56 +03:00
FinnHornhoover 1d78bc2d9b removed redundant function 2024-04-06 02:31:56 +03:00
FinnHornhoover c78a3e5ada do not immediately start checking hashes 2024-04-06 02:31:56 +03:00
FinnHornhoover c05e9c0dcd reverted version sizes 2024-04-06 02:31:56 +03:00
FinnHornhoover e1ef76744a added script itself and migration logic 2024-04-06 02:31:56 +03:00
FinnHornhoover 04aea6059e added measure against half-flushed objects 2024-04-06 02:31:55 +03:00
FinnHornhoover 600b33a230 switched to ipc through localhost 2024-04-06 02:31:55 +03:00
FinnHornhoover 48efd00a4a use python child process to handle cache ops 2024-04-06 02:31:55 +03:00
FinnHornhoover f28c9c0bb8 WIP added offline cache pointing logic 2024-04-06 02:31:54 +03:00
FinnHornhoover e3f16d8fc9 delegated downloads to wget exe due to memory leak 2024-04-06 02:31:54 +03:00
FinnHornhoover 6f7f1655b9 implemented delete as ipc, adjusted for cache swap 2024-04-06 02:31:54 +03:00
FinnHornhoover 597e80b112 adjusted download and hash check logic and data 2024-04-06 02:31:54 +03:00
FinnHornhoover 79bdba74a5 integrated download and hash functionality 2024-04-06 02:31:54 +03:00
FinnHornhoover 16a99f86c7 added async hash checking 2024-04-06 02:31:54 +03:00
FinnHornhoover 05af8a3f9e WIP ipc downloads 2024-04-06 02:31:54 +03:00
FinnHornhoover 27f0992b52 WIP download bugfix 2024-04-06 02:31:54 +03:00
FinnHornhoover 132b725922 WIP button functionality (download, delete) 2024-04-06 02:31:54 +03:00
CakeLancelot b5ab9aad2d Bump copyright date to 2024 and version to 1.5.2; update build.yml 2024-04-02 06:49:15 -05:00
CakeLancelot 01ee292d10 Introduce automatic artifact building and publishing 2024-04-02 05:06:06 -05:00
CakeLancelot 2183106c73 Fix manifest causing a crash / background process on certain systems
Fixes #21
2024-03-24 01:33:38 -05:00
Gent Semaj db7370ca41
Bump copyright date 2024-02-02 19:01:07 -08:00
6 changed files with 82 additions and 11 deletions

47
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: Publish Build
on:
push:
branches: [ "main" ]
tags: '*'
permissions:
contents: write
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Pack into zip and create installer
run: npm run dist
- name: Upload Artifacts
uses: actions/upload-artifact@master
with:
path: dist
publish-release:
if: contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@master
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "artifact/*-ia32-win.zip,artifact/*.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020-2023 OpenFusion Contributors
Copyright (c) 2020-2024 OpenFusion Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,8 +1,32 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity type="win32" name="OpenFusion.Client" version="1.5.2.0" processorArchitecture="x86" />
<dependency>
<dependentAssembly>
<assemblyIdentity type="Win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*">
</assemblyIdentity>
</dependentAssembly>
</dependency>
<asmv3:trustInfo>
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</asmv3:trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">
<activeCodePage>UTF-8</activeCodePage>
<dpiAware>true</dpiAware>
<asmv3:windowsSettings>
<activeCodePage xmlns="urn:schemas-microsoft-com:smi.2019.WindowsSettings">UTF-8</activeCodePage>
<dpiAware xmlns="urn:schemas-microsoft-com:smi.2005.WindowsSettings">True/PM</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"></supportedOS>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>
</application>
</compatibility>
</asmv1:assembly>

View File

@ -173,7 +173,7 @@
APP_VERSION_NUMBER
</p>
<p>
©2020-2023 OpenFusion Contributors<br />OpenFusion
©2020-2024 OpenFusion Contributors<br />OpenFusion
is licensed under MIT.<br />
</p>
<a

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -1,13 +1,13 @@
{
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"description": "OpenFusionClient",
"main": "index.js",
"scripts": {
"postinstall": "npx patch-package && npm explore electron-prebuilt -- npm run postinstall",
"start": "electron .",
"pack": "electron-builder --win --ia32 --dir",
"dist": "electron-builder --win --ia32",
"dist": "electron-builder --win --ia32 --publish=never",
"prettier": "npx prettier --write ."
},
"author": "OpenFusion Contributors",