Skip to content

(devtool) installer text adjustment #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

jzy-chitong56
Copy link
Contributor

@jzy-chitong56 jzy-chitong56 commented Nov 22, 2024

Adjust the text, some feedback says they don't understand
Windows title displays the version number, but I haven't tested it
fix this

image

@jzy-chitong56
Copy link
Contributor Author

#451
#450
#401

let version = '';
let WinTitle = translations['PAGES.HOME.TITLE'];
let WinTitle_err = '';
fs.readFile(path.join(__dirname, 'package.json'), 'utf8', (err, data) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.json is an internal src file, it won't be available in the release artifact.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked AI about this and they said it's feasible. I suggested trying compiling it, but I didn't compile it locally...........

@@ -9,8 +12,8 @@
"INCLUDE_COMMANDER": "Install Commander",
"INCLUDE_COMMANDER_VSAI": "Vs Vanilla AI",
"INCLUDE_COMMANDER_OFF": "No Commander",
"OPTIMISE": "Use Optimised Scripts",
"FORCELANG": "Override Default AI Language"
"OPTIMISE": "Reduce System Load",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make an onhover tooltip rather than change the message here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, no one may have read it, but I rely entirely on AI to consult a little bit on HTML adjustments, and the changes may not be as good as those made by professional engineers
like How to add a standard question mark icon after text, with a mouse move in button prompt

@@ -207,6 +207,26 @@ const installOnDirectory = async () => {
process.send(f2AddToMPQ.error.message)
: process.send(installCommander ? `Installing commander ${file}` : `Installing VS Vanilla AI commander ${file}`);

} else {
const f2AddToMPQ = spawnSync(
`MPQEditor.exe`,
Copy link
Owner

@SMUnlimited SMUnlimited Nov 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dangerous, as uninstalling all the time could break maps that never installed the commander but do have a custom blizzard.j.

This needs to be an option or new menu options to run the uninstalls.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few buttons, it may be necessary to readjust the layout

@jzy-chitong56
Copy link
Contributor Author

How about this
image

SMUnlimited added a commit that referenced this pull request Dec 7, 2024
@jzy-chitong56
Copy link
Contributor Author

InstallAppointVERToMap.bat Support call all uninstall bat - batch or one by one

@jzy-chitong56
Copy link
Contributor Author

now can work
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants