diff --git a/apps/app-frontend/src/helpers/profile.js b/apps/app-frontend/src/helpers/profile.js index e3c844d2fd..7c3f1090f4 100644 --- a/apps/app-frontend/src/helpers/profile.js +++ b/apps/app-frontend/src/helpers/profile.js @@ -18,7 +18,7 @@ import { install_to_existing_profile } from '@/helpers/pack.js' - icon is a path to an image file, which will be copied into the profile directory */ -export async function create(name, gameVersion, modloader, loaderVersion, iconPath, skipInstall) { +export async function create(name, gameVersion, modloader, loaderVersion, icon, skipInstall) { //Trim string name to avoid "Unable to find directory" name = name.trim() return await invoke('plugin:profile-create|profile_create', { @@ -26,7 +26,7 @@ export async function create(name, gameVersion, modloader, loaderVersion, iconPa gameVersion, modloader, loaderVersion, - iconPath, + icon, skipInstall, }) }