Skip to content

Instantly share code, notes, and snippets.

View corwin-of-amber's full-sized avatar
💭
GAAAA!!!

Shachar Itzhaky corwin-of-amber

💭
GAAAA!!!
View GitHub Profile
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<script src="./node_modules/jscoq/ui-js/jscoq-loader.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
class Observer {
@corwin-of-amber
corwin-of-amber / xz-lzma2.ts
Created September 15, 2021 18:01
Reading lzma2 information from an xz container
/**
* Based on:
* + https://tukaani.org/xz/xz-file-format-1.0.4.txt
* + https://github.com/Rogdham/python-xz/tree/master/src/xz
*/
import assert from 'assert';
import fs from 'fs';
import struct from 'python-struct';
// From https://github.com/SortaCore/lzma2-js
import lzma from './lzma2-js/lzma2_worker';

Building NW.js on macOS (for Mere Mortals) {: .doctitle}


This is an annotated version of Building NW.js from the official NW.js developer documentation. It includes my experience from building NW.js binaries for macOS, both Intel (x86-64) and M1 (arm64). The latter can be easily discerned since they are block-quoted and appear in red1.

Footnotes

  1. Not on GitHub though; they aggressively sanitize HTML in Markdown. Block quotes still work 😬

[
"Dorothy1710943",
"Laura5893352585",
"Donna8478837092",
"Sandra442872647",
"Ruth5711017436",
"Michell37622190",
"Margare95082111",
"Margare06611503",
"Michell66048359",