Compare commits

..

35 Commits

Author SHA1 Message Date
FinnHornhoover
ec7f494f41 fixed offline cache enabled condition 2023-12-26 17:39:06 +03:00
FinnHornhoover
7956f653fb added comments 2023-11-18 01:21:31 +03:00
FinnHornhoover
fe6f42f67c cleaned up and added docstrings to cache handler 2023-11-18 00:48:51 +03:00
FinnHornhoover
c3dc79b42a fixed added versions not showing up immediately 2023-11-18 00:47:23 +03:00
FinnHornhoover
e11023df54 added linguist-vendored 2023-11-15 10:01:36 +03:00
FinnHornhoover
51f0c06092 fixed config json read, limited hash check 2023-11-13 23:06:38 +03:00
FinnHornhoover
695fcaebb6 fixed valdator function name 2023-11-13 22:43:58 +03:00
FinnHornhoover
01a4318db5 fixed hash check timing on config change 2023-11-13 20:05:02 +03:00
FinnHornhoover
4105472d3c added hash check when cache location is changed 2023-11-13 01:46:23 +03:00
FinnHornhoover
8f05ace344 added config modal, bumped version 2023-11-13 00:15:45 +03:00
FinnHornhoover
b51e49d703 added more proper initial check handling 2023-11-12 16:27:11 +03:00
FinnHornhoover
6f3f3290d7 added default ip, regex for version names 2023-11-12 15:38:33 +03:00
FinnHornhoover
f6ae8f0b6c added fixes for validation 2023-11-12 15:00:11 +03:00
FinnHornhoover
3dc1c1ae45 fixed version url and path bugs, added validation 2023-11-11 23:55:07 +03:00
FinnHornhoover
490d335336 WIP custom build adjustments 2023-11-11 23:55:06 +03:00
FinnHornhoover
cf0737cb60 added build management, WIP custom cache checks 2023-11-11 23:55:05 +03:00
FinnHornhoover
ea1715e27c by default, always use cdn 2023-11-11 23:55:04 +03:00
FinnHornhoover
59f0e155dd removed async, adjusted load logic, and hash check 2023-11-11 23:55:04 +03:00
FinnHornhoover
d391faefb7 edited gitignore for extra files 2023-11-11 23:55:04 +03:00
FinnHornhoover
9c3219f203 removed redundant function 2023-11-11 23:55:04 +03:00
FinnHornhoover
e980ca5d65 do not immediately start checking hashes 2023-11-11 23:55:04 +03:00
FinnHornhoover
9183d3338d reverted version sizes 2023-11-11 23:55:04 +03:00
FinnHornhoover
096fcee49f added script itself and migration logic 2023-11-11 23:55:04 +03:00
FinnHornhoover
e74106e137 added measure against half-flushed objects 2023-11-11 23:55:04 +03:00
FinnHornhoover
9ee982b53c switched to ipc through localhost 2023-11-11 23:55:04 +03:00
FinnHornhoover
b2ba0ba1b6 use python child process to handle cache ops 2023-11-11 23:55:03 +03:00
FinnHornhoover
60aba00ad5 WIP added offline cache pointing logic 2023-11-11 23:55:02 +03:00
FinnHornhoover
1c3e3f81b0 delegated downloads to wget exe due to memory leak 2023-11-11 23:55:02 +03:00
FinnHornhoover
f7d1b73806 implemented delete as ipc, adjusted for cache swap 2023-11-11 23:55:02 +03:00
FinnHornhoover
a1678cb1e9 adjusted download and hash check logic and data 2023-11-11 23:55:02 +03:00
FinnHornhoover
3f56895d3b integrated download and hash functionality 2023-11-11 23:55:02 +03:00
FinnHornhoover
2c5337938a added async hash checking 2023-11-11 23:55:02 +03:00
FinnHornhoover
b644edb774 WIP ipc downloads 2023-11-11 23:55:02 +03:00
FinnHornhoover
ee309319c9 WIP download bugfix 2023-11-11 23:55:02 +03:00
FinnHornhoover
01e329e621 WIP button functionality (download, delete) 2023-11-11 23:55:02 +03:00
6 changed files with 11 additions and 82 deletions

View File

@ -1,47 +0,0 @@
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-2024 OpenFusion Contributors
Copyright (c) 2020-2023 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,32 +1,8 @@
<?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>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:application>
<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 xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">
<activeCodePage>UTF-8</activeCodePage>
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
<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>
</assembly>

View File

@ -173,7 +173,7 @@
APP_VERSION_NUMBER
</p>
<p>
©2020-2024 OpenFusion Contributors<br />OpenFusion
©2020-2023 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.2",
"version": "1.5.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "OpenFusionClient",
"version": "1.5.2",
"version": "1.5.1",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -1,13 +1,13 @@
{
"name": "OpenFusionClient",
"version": "1.5.2",
"version": "1.5.1",
"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 --publish=never",
"dist": "electron-builder --win --ia32",
"prettier": "npx prettier --write ."
},
"author": "OpenFusion Contributors",