Yes, I did this (not with a function, but with a Const containing '../Resources/' put before all filenames). But to quote myself:

Double clicking the bundle brought nothing, but double clicking the binary from inside the bundle started the game.