diff --git a/.travis.yml b/.travis.yml index 3e2bb65..41a7c74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,13 +39,15 @@ script: before_deploy: - mkdir -p "wiiu/apps/wiiupluginloader" +- mkdir -p "wiiu/plugins" - commit="$(git rev-parse --short=7 HEAD)" - chmod +x gitrev.sh - versiontag="$(./gitrev.sh)" - (cd loader && make) +- cp example_plugin/bin/example_plugin.mod wiiu/plugins - cp loader/meta/* wiiu/apps/wiiupluginloader - cp loader/wiiupluginloader.elf wiiu/apps/wiiupluginloader -- zip -r wiiupluginloader_$versiontag.zip wiiu example_plugin/bin/example_plugin.mod +- zip -r WiiUPluginLoader_$versiontag.zip wiiu - git config --global user.email "builds@travis-ci.com" - git config --global user.name "Travis CI" - export GIT_TAG=WiiUPluginLoader-$versiontag diff --git a/loader/src/main.cpp b/loader/src/main.cpp index 855c89e..0540b7c 100644 --- a/loader/src/main.cpp +++ b/loader/src/main.cpp @@ -35,7 +35,7 @@ extern "C" int Menu_Main(int argc, char **argv){ int res = 0; if((res = mount_sd_fat("sd")) >= 0){ DEBUG_FUNCTION_LINE("Mounting successful\n"); - loadAndProcessElf("sd:/example_plugin.mod"); + loadAndProcessElf("sd:/wiiu/plugins/example_plugin.mod"); } DEBUG_FUNCTION_LINE("Application is ending now.\n");