[mac] changing the name of "factorio.app"

Bugs that are actually features.
Pika
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Feb 25, 2013 6:28 pm
Contact:

[mac] changing the name of "factorio.app"

Post by Pika »

To keep track of versions I've renamed version 0.2.8 from "factorio.app" to "factorio 0.2.8.app". Upon starting it up, the game stops at the first white screen with this alert message (edited):
Failed to load window icon! Loading from: /Users/[redacted]/applications/Factorio/factorio.app/Contents/data/resources/factorio-icon.png
If I click "OK" it quits. You can see it's still looking for a "factorio.app", when it should be using the new name of "factorio 0.2.8.app"

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [mac] changing the name of "factorio.app"

Post by slpwnd »

Hmm the app in the OSx can't handle changing the package name at the

You can get around this in the config.ini (~/Library/Application Support/factorio/config/config.ini) by having:

[path]
read-data=__PATH__executable__/factorio 0.2.8.app/Contents/data

True. This is not really convenient.

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [mac] changing the name of "factorio.app"

Post by MF- »

Maybe that could be resolved with a symlink (if the installer is allowed to create it)

At least that approach works fine for me on linux (/usr/share/factorio is actually a symlink to ~/factorio and that is symlink to ~/factorio-<[AD]>-<version>)

Post Reply

Return to “Not a bug”