fix: create installer from resources executable
This commit is contained in:
parent
c93b52e9a0
commit
6a5e3175e0
|
@ -111,13 +111,10 @@ fn main() {
|
||||||
.to_string_lossy()
|
.to_string_lossy()
|
||||||
.to_string(),
|
.to_string(),
|
||||||
);
|
);
|
||||||
iss_setup = iss_setup.replace(
|
iss_setup = iss_setup.replace("{{{output_name}}}", &format!("{}-{}", INSTALLER_NAME, arch));
|
||||||
"{{{output_name}}}",
|
|
||||||
&format!("{}-{}", INSTALLER_NAME, arch),
|
|
||||||
);
|
|
||||||
iss_setup = iss_setup.replace(
|
iss_setup = iss_setup.replace(
|
||||||
"{{{executable_path}}}",
|
"{{{executable_path}}}",
|
||||||
&dunce::canonicalize(&format!("{}.exe", envmnt::get_or_panic("EXEC_PATH")))
|
&dunce::canonicalize(&resources_dir.join("espansod.exe"))
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.to_string_lossy()
|
.to_string_lossy()
|
||||||
.to_string(),
|
.to_string(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user