mojira.dev
MCL-547

When the launcher isn't running, there isn't a program to delete the natives

When the game quits the launcher deletes the natives it can find. However when the launcher closes before the game quits, it can't delete any natives.

In the launcher log i says:


YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----


YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----


YOU CAN CLOSE THIS LAUNCHER IF THE GAME STARTED OK ----


(We'll do this automatically later ;D) ----

however doing this causes the natives to be unable to remove (themselves).

Linked issues

Comments 8

Cannot confirm with Windows 7:

  • Started launcher 0.9.5

  • Started 13w26a

  • Quit launcher

  • Quit game

  • Native directory gets deleted

Native folder is successfully deleted. Marking as Cannot Reproduce for now.
Ok, now I can reproduce. Requires manual deleting.

Natives are deleted on next launcher start, see MCL-224.

Except it's not the same bug. That bug is regarding windows's behavior and not deleting the natives. The natives delete fine unless you terminate the program, then they build up.

Dinnerbone:

The launcher tries to delete natives at close, and if it can't it will try to delete on exit, and if it can't they will sit around. I have to make it delete old ones on startup later

Actually, I can only replicate the bug in OS X. Windows has no problem deleting the natives folder.

Then it is even less iof duplicate, no?

Reopening because MCL-224 is working as intended, and Mojang has confirmed that this is not.

Not really something we can fix other than the way we do right now. Right now we clean up files on the next start (given they more then a few mins old), but as you said if the launcher closes it clearly cannot go and delete files later on. This is fixed the only way it can be!

Ezekiel

(Unassigned)

Unconfirmed

natives

Retrieved