mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Update packaging scripts to use new HTML doc
This commit is contained in:
+5
-12
@@ -147,18 +147,11 @@ function createAppArchive(rootPath, releasePath, tempPath, destPath) {
|
||||
path.join(tempPath, 'resources', 'ui', 'fonts')
|
||||
);
|
||||
|
||||
// Docs.
|
||||
fs.mkdirsSync(path.join(tempPath, 'docs'));
|
||||
[
|
||||
'images',
|
||||
'licenses',
|
||||
'LOOT Readme.html',
|
||||
].forEach((item) => {
|
||||
fs.copySync(
|
||||
path.join(rootPath, 'docs', item),
|
||||
path.join(tempPath, 'docs', item)
|
||||
);
|
||||
});
|
||||
// Documentation.
|
||||
fs.copySync(
|
||||
path.join(rootPath, 'build', 'docs', 'html'),
|
||||
path.join(tempPath, 'docs')
|
||||
);
|
||||
|
||||
// Now compress the folder to a 7-zip archive.
|
||||
compress(tempPath, destPath);
|
||||
|
||||
@@ -102,14 +102,8 @@ DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "{#buildir}\Release\resources\l10n\en-US.pak"; \
|
||||
DestDir: "{app}\resources\l10n"; Flags: ignoreversion
|
||||
|
||||
Source: "docs\LOOT Readme.html"; \
|
||||
DestDir: "{app}\docs"; Flags: ignoreversion isreadme
|
||||
Source: "docs\licenses\*"; \
|
||||
DestDir: "{app}\docs\licenses"; Flags: ignoreversion
|
||||
Source: "docs\images\main.png"; \
|
||||
DestDir: "{app}\docs\images"; Flags: ignoreversion
|
||||
Source: "docs\images\settings.png"; \
|
||||
DestDir: "{app}\docs\images"; Flags: ignoreversion
|
||||
Source: "{#buildir}\docs\html\*"; \
|
||||
DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs
|
||||
|
||||
Source: "{#buildir}\Release\resources\ui\index.html"; \
|
||||
DestDir: "{app}\resources\ui"; Flags: ignoreversion
|
||||
|
||||
Reference in New Issue
Block a user