updated version

This commit is contained in:
Ben
2024-03-01 18:51:31 -05:00
parent 21a50eecca
commit dee256f56e
4 changed files with 211 additions and 8 deletions

11
.vscode/settings.json vendored
View File

@@ -4,7 +4,7 @@
".prettierrc": "jsonc",
".eslintignore": "ignore"
},
"eslint.validate": [
"javascript",
"javascriptreact",
@@ -26,5 +26,12 @@
"test/**/__snapshots__": true,
"package-lock.json": true,
"*.{css,sass,scss}.d.ts": true
}
},
"Lua.diagnostics.globals": [
"SlashCmdList",
"message",
"ReloadUI",
"WorldFrame",
"ChatFrame1"
]
}

186
deprecated/menu-bar.ts Normal file
View File

@@ -0,0 +1,186 @@
// {
// /* Music & Optional patches component */
// }
// {
// /* <Paper
// onClick={installMisc}
// elevation={6}
// sx={{
// padding: '3px',
// height: '65px',
// transition: !appInfo?.Misc ? 'all 0.3s ease-out' : 'none',
// ':hover': !appInfo?.Misc
// ? {
// cursor: 'pointer',
// backgroundColor: 'rgba(235,0,0,0.7)',
// transition: 'all 0.3s ease-out',
// }
// : 'none',
// backgroundColor: appInfo?.Misc
// ? 'rgba(30,30,40,0.8)'
// : 'rgba(250,0,19,0.5)',
// border: '1px solid rgba(254,223,164,0.6)',
// }}
// > */
// }
// {
// /* <Grid
// container
// direction="row"
// height="100%"
// alignItems="center"
// padding={1}
// >
// <Grid xs={3}>
// <img src={musicIcon} alt="wow" width="50px" />
// </Grid>
// <Grid xs={9} padding={1}>
// <Typography variant="body2" sx={{ color: 'white' }}>
// {appInfo?.Misc
// ? 'Music & Optional patches installed'
// : 'Install HD Music & Login Screen '}
// </Typography>
// </Grid>
// </Grid> */
// }
// {
// /* WoW Client: {appInfo?.WoWPatched ? <span className="success">Patched</span> : <span className="error">Not Patched</span>} */
// }
// {
// /* </Paper> */
// }
// {/* HD patches component */}
// <Paper
// onClick={installHD}
// elevation={6}
// sx={{
// padding: '3px',
// height: '65px',
// transition: !appInfo?.HD ? 'all 0.3s ease-out' : 'none',
// ':hover': !appInfo?.HD
// ? {
// cursor: 'pointer',
// backgroundColor: 'rgba(235,0,0,0.7)',
// transition: 'all 0.3s ease-out',
// }
// : 'none',
// backgroundColor: appInfo?.HD
// ? 'rgba(30,30,40,0.8)'
// : 'rgba(250,0,19,0.5)',
// border: '1px solid rgba(254,223,164,0.6)',
// }}
// >
// <Grid
// container
// direction="row"
// height="100%"
// alignItems="center"
// padding={1}
// >
// <Grid xs={3}>
// <img src={hdIcon} alt="wow" width="50px" />
// </Grid>
// <Grid xs={9} padding={1}>
// <Typography variant="body2" sx={{ color: 'white' }}>
// {appInfo?.HD
// ? 'HD Client Installed'
// : 'Install HD Client'}
// </Typography>
// </Grid>
// </Grid>
// </Paper>
// {/* Store menu component */}
// <Paper
// onClick={installStore}
// elevation={6}
// sx={{
// padding: '3px',
// height: '65px',
// transition: !appInfo?.AIOInstalled
// ? 'all 0.3s ease-out'
// : 'none',
// ':hover': !appInfo?.AIOInstalled
// ? {
// cursor: 'pointer',
// backgroundColor: 'rgba(235,0,0,0.7)',
// transition: 'all 0.3s ease-out',
// }
// : 'none',
// backgroundColor: appInfo?.AIOInstalled
// ? 'rgba(30,30,40,0.8)'
// : 'rgba(250,0,19,0.5)',
// border: '1px solid rgba(254,223,164,0.6)',
// }}
// >
// <Grid
// container
// direction="row"
// height="100%"
// alignItems="center"
// padding={1}
// >
// <Grid xs={3}>
// <img src={moneyIcon} alt="wow" width="50px" />
// </Grid>
// <Grid xs={9} padding={1}>
// <Typography variant="body2" sx={{ color: 'white' }}>
// {appInfo?.AIOInstalled
// ? 'Araxia Store Installed'
// : 'Install Araxia Store'}
// </Typography>
// </Grid>
// </Grid>
// </Paper> */}
{/* <Grid xs={4}>
<Paper
onClick={installWow}
elevation={6}
sx={{
padding: '3px',
height: '65px',
transition: !appInfo?.WoWPatched
? 'all 0.3s ease-out'
: 'none',
':hover': !appInfo?.WoWPatched
? {
cursor: 'pointer',
backgroundColor: 'rgba(235,0,0,0.7)',
transition: 'all 0.3s ease-out',
}
: 'none',
backgroundColor: appInfo?.WoWPatched
? 'rgba(30,30,40,0.8)'
: 'rgba(250,0,19,0.5)',
border: '1px solid rgba(254,223,164,0.6)',
}}
>
<Grid
container
direction="row"
height="100%"
alignItems="center"
padding={1}
>
<Grid xs={3}>
<img src={wowInstalled} alt="wow" width="49px" />
</Grid>
<Grid xs={9} padding={1}>
<Typography variant="body2" sx={{ color: 'white' }}>
{appInfo?.WoWPatched
? 'Wow.exe is optimized '
: 'Install patched Wow.exe'}
</Typography>
</Grid>
</Grid>
</Paper>
</Grid> */}

View File

@@ -21,7 +21,7 @@
"email": "ben.carter.dev@gmail.com"
},
"main": "./src/main/main.ts",
"version": "1.2.0",
"version": "1.3.0",
"scripts": {
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",

View File

@@ -6718,10 +6718,10 @@ fs-extra@^10.1.0:
jsonfile "^6.0.1"
universalify "^2.0.0"
fs-extra@^11.1.0:
version "11.1.1"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz"
integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==
fs-extra@^11.1.0, fs-extra@^11.2.0:
version "11.2.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz"
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
@@ -6736,7 +6736,17 @@ fs-extra@^8.1.0:
jsonfile "^4.0.0"
universalify "^0.1.0"
fs-extra@^9.0.0, fs-extra@^9.0.1:
fs-extra@^9.0.0:
version "9.1.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz"
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
dependencies:
at-least-node "^1.0.0"
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"
fs-extra@^9.0.1:
version "9.1.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz"
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==