nanoshell 1.1.8 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/index.js CHANGED
@@ -46,7 +46,7 @@ if (args.length > 0 && !args[0].startsWith('-') && args[0] !== 'package' && args
46
46
  }
47
47
 
48
48
  // Copy DLLs
49
- const dlls = ['AppCore.dll', 'Ultralight.dll', 'UltralightCore.dll', 'WebCore.dll'];
49
+ const dlls = ['AppCore.dll', 'Ultralight.dll', 'UltralightCore.dll', 'WebCore.dll', 'vcruntime140.dll', 'msvcp140.dll', 'vcruntime140_1.dll'];
50
50
  for (const dll of dlls) {
51
51
  for (const dir of binDirs) {
52
52
  const src = path.join(dir, dll);
package/cli/installer.zig CHANGED
@@ -188,11 +188,14 @@ pub fn generateIss(allocator: std.mem.Allocator, config: AppConfig) ![]const u8
188
188
  \\; Main executable
189
189
  \\Source: "bin\{{#AppExeName}}"; DestDir: "{{app}}"; Flags: ignoreversion
190
190
  \\
191
- \\; NanoShell Runtime DLLs
191
+ \\; NanoShell Runtime DLLs & Portable C++ Runtimes
192
192
  \\Source: "bin\AppCore.dll"; DestDir: "{{app}}"; Flags: ignoreversion
193
193
  \\Source: "bin\Ultralight.dll"; DestDir: "{{app}}"; Flags: ignoreversion
194
194
  \\Source: "bin\UltralightCore.dll"; DestDir: "{{app}}"; Flags: ignoreversion
195
195
  \\Source: "bin\WebCore.dll"; DestDir: "{{app}}"; Flags: ignoreversion
196
+ \\Source: "bin\vcruntime140.dll"; DestDir: "{{app}}"; Flags: ignoreversion skipifdoesntexist
197
+ \\Source: "bin\msvcp140.dll"; DestDir: "{{app}}"; Flags: ignoreversion skipifdoesntexist
198
+ \\Source: "bin\vcruntime140_1.dll"; DestDir: "{{app}}"; Flags: ignoreversion skipifdoesntexist
196
199
  \\
197
200
  \\; ICU Unicode data and TLS certs
198
201
  \\Source: "bin\icudt67l.dat"; DestDir: "{{app}}"; Flags: ignoreversion
package/cli/main.zig CHANGED
@@ -227,6 +227,15 @@ pub fn main() !void {
227
227
  _ = cwd.copyFile("zig-out/bin/WebCore.dll", app_dir, "bin/WebCore.dll", io, .{}) catch
228
228
  cwd.copyFile("WebCore.dll", app_dir, "bin/WebCore.dll", io, .{}) catch {};
229
229
 
230
+ _ = cwd.copyFile("vendor/bin/vcruntime140.dll", app_dir, "bin/vcruntime140.dll", io, .{}) catch
231
+ cwd.copyFile("zig-out/bin/vcruntime140.dll", app_dir, "bin/vcruntime140.dll", io, .{}) catch {};
232
+
233
+ _ = cwd.copyFile("vendor/bin/msvcp140.dll", app_dir, "bin/msvcp140.dll", io, .{}) catch
234
+ cwd.copyFile("zig-out/bin/msvcp140.dll", app_dir, "bin/msvcp140.dll", io, .{}) catch {};
235
+
236
+ _ = cwd.copyFile("vendor/bin/vcruntime140_1.dll", app_dir, "bin/vcruntime140_1.dll", io, .{}) catch
237
+ cwd.copyFile("zig-out/bin/vcruntime140_1.dll", app_dir, "bin/vcruntime140_1.dll", io, .{}) catch {};
238
+
230
239
  _ = cwd.copyFile("vendor/resources/icudt67l.dat", app_dir, "bin/icudt67l.dat", io, .{}) catch
231
240
  cwd.copyFile("bin/icudt67l.dat", app_dir, "bin/icudt67l.dat", io, .{}) catch {};
232
241
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoshell",
3
- "version": "1.1.8",
3
+ "version": "1.2.1",
4
4
  "description": "Hyper-lightweight 17MB RAM, 120 FPS native desktop application framework & runtime engine created by Suman Biswas",
5
5
  "main": "zig-out/bin/example_app.exe",
6
6
  "bin": {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file