NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
# Need to enable scripting before executing the file | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force | |
cd ~ | |
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
scoop install git | |
scoop bucket add java |
import 'dart:ffi'; | |
import 'dart:io'; | |
import 'package:ffi/ffi.dart'; | |
import 'package:unorm_dart/unorm_dart.dart' as unorm_dart; // fallback | |
String _getLibicuModuleName() { | |
if (Platform.isAndroid) { | |
return 'libicu.so'; | |
} else if (Platform.isWindows) { |
NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
void main() { | |
print('''Multiline | |
String | |
can be | |
directly embedded on the code!'''); | |
} |
#/bin/sh | |
# | |
# Installing provisioning profile | |
# Set $PROVISIONING_PROFILE_BASE64 and $CERT_SERIAL_NUMBER before invoking the script. | |
PROVPROF_TMP=$GITHUB_WORKSPACE/tmp.mobileprovision | |
echo "$PROVISIONING_PROFILE_BASE64" | openssl base64 -d -A -out $PROVPROF_TMP | |
UUID=`grep UUID -A1 -a $PROVPROF_TMP | grep -io "[-A-Z0-9]\{36\}"` | |
echo "Provisioning profile UUID: $UUID" |
#!/bin/sh | |
# | |
# Install our provisioning certificates on the runner machine | |
# | |
# Reference: https://apple.stackexchange.com/a/285320 | |
# | |
# Set $P12_BASE64 and $P12_PASSWORD before invoking the script | |
MY_KEYCHAIN="temp.keychain" |
@echo off | |
setlocal enabledelayedexpansion | |
rem Additional options to append to VSCode launching command lines. | |
set ADDTIONAL_OPTS=--disable-gpu | |
rem insiders, exploration, or other for normal version. | |
set FLAVOR=insiders | |
rem VSCode, VSCode Insiders, VSCode Exploration,... |