Ver Fonte

fix(manifest): correct resource install path handling

clanker há 1 mês atrás
pai
commit
763922b263
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/lib/Manifest.vala

+ 3 - 1
src/lib/Manifest.vala

@@ -399,7 +399,9 @@ namespace Usm {
                             if(install_path == null) {
                                 throw new ManifestError.INVALID_FILE_PATH("Install path was not provided");
                             }
-                            base_path = Path.build_filename(install_path, paths.get_suggested_path_for_resource(resource.key));
+                            var install_paths = paths.clone();
+                            install_paths.destination = install_path;
+                            base_path = paths.get_suggested_path_for_resource(resource.key);
                             break;
                         default:
                             assert_not_reached();