Compare commits

..

10 Commits

Author SHA1 Message Date
MathieuG-P 8307a975ea bumb version 2023-02-28 23:39:48 +01:00
MathieuG-P f5ecdfca60 Merge pull request #149 from Zagrios/hotfix/error-download-version-space-in-path
[HOTFIX] fix error when space in path when download a version
2023-02-28 23:38:36 +01:00
MathieuG-P 5bb92d804b fix erreur when space in path when download a version 2023-02-28 23:37:40 +01:00
MathieuG-P 5b4b962015 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-02-28 19:17:38 +01:00
MathieuG-P b43cfdd70b add 1.28.0 2023-02-28 19:17:35 +01:00
MathieuG-P 77350a823e Merge pull request #146 from Zagrios/feature/readme-update
Feature/readme update
2023-02-28 11:14:08 +01:00
MathieuG-P 5844aea281 Update FUNDING.yml 2023-02-28 11:12:34 +01:00
Gaëtan Gerard 8af5d8c3e4 Remove BSM Support 2023-02-28 09:58:00 +01:00
Gaëtan Gerard f0f3721ec5 Merge pull request #145 from Zagrios/master
rebase
2023-02-28 09:57:24 +01:00
Gaëtan Gerard 72daaeee0e Merge pull request #124 from Zagrios/master
Rebase branch
2023-01-24 09:26:10 +01:00
6 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
custom: https://mee6.gg/m/bsmanager
+1 -1
View File
@@ -43,7 +43,7 @@
<a href="https://github.com/Zagrios/bs-manager/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/Zagrios/bs-manager?style=for-the-badge"></a>
<br>
<a href="https://discord.gg/uSqbHVpKdV"><img src ="https://img.shields.io/badge/-DISCORD-5865f2?style=for-the-badge&logo=discord&logoColor=ffffff" alt="discord"/></a>
<a href="https://mee6.xyz/fr/m/bsmanager"><img src ="https://img.shields.io/badge/-🥰%20Support%20BSM-EC4546?style=for-the-badge" alt="Donation"/></a>
<!--<a href="https://mee6.xyz/fr/m/bsmanager"><img src ="https://img.shields.io/badge/-🥰%20Support%20BSM-EC4546?style=for-the-badge" alt="Donation"/></a>-->
<a href="https://twitter.com/BSManager_"><img src ="https://img.shields.io/badge/-Twitter-F5F8FA?style=for-the-badge&logo=Twitter" alt="Twitter"/></a>
<br>
[<a href="#readme-bot">Go to bottom</a>]
+9 -1
View File
@@ -509,5 +509,13 @@
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans//32055887/d9ed8771498be7fc83721aaaaa5b15a08fbeadb1.png",
"ReleaseDate": "1670943003",
"year": "2022"
}
},
{
"BSVersion":"1.28.0",
"BSManifest":"7463243155526905423",
"ReleaseURL":"https://steamcommunity.com/games/620980/announcements/detail/3666530358620442392",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans//32055887/8f978bbf292810004bca12523e76be8a7eec8c4e.png",
"ReleaseDate": "1677593822",
"year": "2023"
}
]
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "bs-manager",
"version": "1.0.2",
"version": "1.0.3",
"description": "A foundation for scalable desktop apps",
"main": "./dist/main/main.js",
"author": {
+6 -2
View File
@@ -38,8 +38,12 @@ export class BSInstallerService{
return BSInstallerService.instance;
}
private escapeSpaces(path: string): string{
return `\"${path}\"`
}
private getDepotDownloaderExePath(): string{
return path.join(this.utils.getAssetsScriptsPath(), 'depot-downloader', 'DepotDownloader.exe');
return this.escapeSpaces(path.join(this.utils.getAssetsScriptsPath(), 'depot-downloader', 'DepotDownloader.exe'));
}
private removeSpecialSchar(txt: string): string{ return txt.replaceAll(/\[|\]/g, ""); }
@@ -68,7 +72,7 @@ export class BSInstallerService{
public async isDotNet6Installed(): Promise<boolean>{
try{
const process = spawnSync(this.getDepotDownloaderExePath());
const process = spawnSync(this.getDepotDownloaderExePath(), {shell: true});
const out = process.output.toString();
if(out.includes(".NET runtime can be found at")){ return false; }
return true;
@@ -52,7 +52,7 @@ export function BsmButton({className, style, imgClassName, iconClassName, icon,
return "";
})();
const handleClick = (e: MouseEvent) => !disabled && onClick(e);
const handleClick = (e: MouseEvent) => !disabled && onClick?.(e);
return (
<div ref={ref} onClick={handleClick} title={t(title)} className={`${className} overflow-hidden cursor-pointer group ${(!withBar && !disabled && (!!typeColor || !!color)) && "hover:brightness-[1.15]"} ${disabled && "brightness-75 cursor-not-allowed"} ${renderTypeColor}`} style={{...style, backgroundColor: primaryColor || color}}>