refactor build scripts
11
app-template/.desktop
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=*VERSION*
|
||||
Name=*NAMECASENOSPACE*
|
||||
Comment=*DESCRIPTION*
|
||||
Exec=*NAMENOSPACE*
|
||||
Icon=icon-256.png
|
||||
Terminal=false
|
||||
Categories=Finance
|
||||
X-Ubuntu-Touch=true
|
||||
X-Ubuntu-StageHint=SideStage
|
||||
44
app-template/Makefile
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
.PHONY: ios android wp
|
||||
|
||||
WORKDIR=project-
|
||||
|
||||
all:
|
||||
|
||||
clean:
|
||||
rm -Rf $(WORKDIR)*
|
||||
|
||||
|
||||
$(WORKDIR)android $(WORKDIR)ios $(WORKDIR)wp: config.xml
|
||||
cordova create $@ com.bitpay.*NAMENOSPACE* *NAMECASENOSPACE* || echo "Project Path Existed"
|
||||
cp ProjectMakefile $@/Makefile
|
||||
cp -af ../public/** $@/www
|
||||
sed "s/<\!-- PLACEHOLDER: CORDOVA SRIPT -->/<script type='text\/javascript' charset='utf-8' src='cordova.js'><\/script>/g" ../public/index.html > $@/www/index.html
|
||||
cp config.xml $@/config.xml
|
||||
make -C $@ $(subst $(WORKDIR),, $@)
|
||||
|
||||
ios: $(WORKDIR)ios
|
||||
make -C $(WORKDIR)ios build-ios
|
||||
|
||||
android: project-android
|
||||
mkdir -p android/platforms/android/res/xml/
|
||||
cp android/build-extras.gradle $(WORKDIR)android/platforms/android/build-extras.gradle
|
||||
cp android/project.properties $(WORKDIR)android/platforms/android/project.properties
|
||||
cp -R android/res/* $(WORKDIR)android/platforms/android/res
|
||||
make -C $(WORKDIR)android build-android
|
||||
|
||||
|
||||
wp: build-wp
|
||||
cp -vf wp/Properties/* $</platforms/wp8/Properties/
|
||||
cp -vf wp/MainPage.xaml $</platforms/wp8/
|
||||
cp -vf wp/Package.appxmanifest $</platforms/wp8/
|
||||
cp -vf wp/Assets/* $</platforms/wp8/Assets/
|
||||
cp -vf wp/SplashScreenImage.jpg $</platforms/wp8/
|
||||
cp -vf wp/ApplicationIcon.png $</platforms/wp8/
|
||||
cp -vf wp/Background.png $</platforms/wp8/
|
||||
cp -af ../public/** $</www
|
||||
wp/fix-svg.sh
|
||||
|
||||
|
||||
androidrun:
|
||||
make -C $(WORKDIR)android run
|
||||
adb logcat | grep copay.js
|
||||
41
app-template/Package.appxmanifest
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
|
||||
<Identity Name="18C7659D.*WINAPPNAME*" Publisher="CN=F89609D1-EB3E-45FD-A58A-C2E3895FCE7B" Version="*VERSION*.0" />
|
||||
<mp:PhoneIdentity PhoneProductId="5381aa50-9069-11e4-84cc-293caf9cbdc8" PhonePublisherId="F89609D1-EB3E-45FD-A58A-C2E3895FCE7B" />
|
||||
<Properties>
|
||||
<DisplayName>*APPDESCRIPTION*</DisplayName>
|
||||
<PublisherDisplayName>BitPay Inc.</PublisherDisplayName>
|
||||
<Logo>Assets\StoreLogo.png</Logo>
|
||||
</Properties>
|
||||
<Prerequisites>
|
||||
<OSMinVersion>6.3.1</OSMinVersion>
|
||||
<OSMaxVersionTested>6.3.1</OSMaxVersionTested>
|
||||
</Prerequisites>
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
<Applications>
|
||||
<Application Id="x5381aa50y9069y11e4y84ccy293caf9cbdc8x" Executable="AGHost.exe" EntryPoint="MainPage.xaml">
|
||||
<m3:VisualElements DisplayName="*APPDESCRIPTION*" Square150x150Logo="Assets\SquareTile150x150.png" Square44x44Logo="Assets\Logo.png" Description="A multisignature Bitcoin Wallet" ForegroundText="light" BackgroundColor="#464646">
|
||||
<m3:DefaultTile Square71x71Logo="Assets\SquareTile71x71.png">
|
||||
</m3:DefaultTile>
|
||||
<m3:SplashScreen Image="SplashScreenImage.jpg" />
|
||||
</m3:VisualElements>
|
||||
<Extensions>
|
||||
<Extension Category="windows.backgroundTasks" EntryPoint="AgHost.BackgroundTask">
|
||||
<BackgroundTasks>
|
||||
<Task Type="systemEvent" />
|
||||
</BackgroundTasks>
|
||||
</Extension>
|
||||
</Extensions>
|
||||
</Application>
|
||||
</Applications>
|
||||
<Extensions>
|
||||
<Extension Category="windows.activatableClass.inProcessServer">
|
||||
<InProcessServer>
|
||||
<Path>AgHostSvcs.dll</Path>
|
||||
<ActivatableClass ActivatableClassId="AgHost.BackgroundTask" ThreadingModel="both" />
|
||||
</InProcessServer>
|
||||
</Extension>
|
||||
</Extensions>
|
||||
</Package>
|
||||
51
app-template/ProjectMakefile
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
.PHONY:plugins ios-platform android-platform wp-platform
|
||||
|
||||
plugins:
|
||||
cordova plugin add cordova-plugin-globalization
|
||||
cordova plugin add cordova.plugins.diagnostic
|
||||
cordova plugin add cordova-plugin-splashscreen
|
||||
cordova plugin add cordova-plugin-statusbar
|
||||
cordova plugin add https://github.com/cmgustavo/Custom-URL-scheme.git --variable URL_SCHEME=bitcoin --variable SECOND_URL_SCHEME=*NAMENOSPACE*
|
||||
cordova plugin add cordova-plugin-inappbrowser
|
||||
cordova plugin add cordova-plugin-x-toast && cordova prepare
|
||||
cordova plugin add https://github.com/VersoSolutions/CordovaClipboard
|
||||
cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git && cordova prepare
|
||||
cordova plugin add cordova-plugin-spinner-dialog
|
||||
cordova plugin add cordova-plugin-dialogs
|
||||
cordova plugin add cordova-plugin-network-information
|
||||
cordova plugin add cordova-plugin-console
|
||||
cordova plugin add cordova-plugin-uniquedeviceid
|
||||
cordova plugin add cordova-plugin-file
|
||||
cordova plugin add cordova-plugin-touch-id
|
||||
cordova prepare
|
||||
cordova plugin add cordova-plugin-transport-security
|
||||
cordova plugin add cordova-ios-requires-fullscreen
|
||||
cordova plugin add cordova-plugin-disable-bitcode
|
||||
rm -rf platforms/android/res/values-es
|
||||
cordova plugin add cordova-plugin-android-fingerprint-auth
|
||||
cordova plugin add cordova-plugin-screen-orientation
|
||||
cordova plugin add ionic-plugin-keyboard
|
||||
cordova plugin add cordova-plugin-whitelist
|
||||
|
||||
|
||||
|
||||
ios-platform android-platform wp-platform:
|
||||
cordova platforms add $(subst -platform,,$@) || echo "Platform already added"
|
||||
|
||||
ios: ios-platform plugins
|
||||
cordova plugin add https://github.com/tjwoon/csZBar.git
|
||||
cordova plugin add phonegap-plugin-push@1.5.3
|
||||
|
||||
android: android-platform plugins
|
||||
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
||||
cordova plugin add phonegap-plugin-push@1.2.3
|
||||
|
||||
wp: wp-platform plugins
|
||||
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
||||
|
||||
build-ios build-android build-wp8:
|
||||
cordova build $(subst build-,,$@)
|
||||
|
||||
run:
|
||||
cordova run --device
|
||||
|
||||
49
app-template/WMAppManifest.xml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Deployment AppPlatformVersion="8.1" xmlns="http://schemas.microsoft.com/windowsphone/2014/deployment">
|
||||
<DefaultLanguage code="en-US" xmlns="" />
|
||||
<Languages xmlns="">
|
||||
<Language code="en-US" />
|
||||
<Language code="fr" />
|
||||
<Language code="de" />
|
||||
<Language code="ja" />
|
||||
<Language code="es" />
|
||||
<Language code="ru" />
|
||||
<Language code="pl" />
|
||||
<Language code="cs" />
|
||||
</Languages>
|
||||
<App Author="Bitpay Inc." BitsPerPixel="32" Description="*DESCRIPTION*" Genre="apps.normal" ProductID="*WPPRODUCTID*" Publisher="*APPDESCRIPTION*" PublisherID="*WPPUBLISHERID*" RuntimeType="Silverlight" Title="*APPDESCRIPTION*" Version="*VERSION*.0" xmlns="" NotificationService="MPN">
|
||||
<IconPath IsRelative="true" IsResource="false">Assets\icon@2.png</IconPath>
|
||||
<Capabilities>
|
||||
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
|
||||
<Capability Name="ID_CAP_NETWORKING" />
|
||||
<Capability Name="ID_CAP_ISV_CAMERA" />
|
||||
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
|
||||
</Capabilities>
|
||||
<Tasks>
|
||||
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
|
||||
</Tasks>
|
||||
<Tokens>
|
||||
<PrimaryToken TaskName="_default" TokenID="*NAMECASENOSPACE*Token">
|
||||
<TemplateFlip>
|
||||
<SmallImageURI IsRelative="true" IsResource="false">Assets\200x200@1.png</SmallImageURI>
|
||||
<Count>0</Count>
|
||||
<BackgroundImageURI IsRelative="true" IsResource="false">Assets\200x200@2.png</BackgroundImageURI>
|
||||
<Title>*APPDESCRIPTION*</Title>
|
||||
<BackContent />
|
||||
<BackBackgroundImageURI />
|
||||
<BackTitle />
|
||||
<LargeBackgroundImageURI />
|
||||
<LargeBackContent />
|
||||
<LargeBackBackgroundImageURI />
|
||||
<DeviceLockImageURI />
|
||||
<HasLarge>false</HasLarge>
|
||||
</TemplateFlip>
|
||||
</PrimaryToken>
|
||||
</Tokens>
|
||||
<ScreenResolutions>
|
||||
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
|
||||
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
|
||||
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
|
||||
</ScreenResolutions>
|
||||
</App>
|
||||
</Deployment>
|
||||
120
app-template/apply.js
Executable file
|
|
@ -0,0 +1,120 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
//
|
||||
|
||||
var templates = {
|
||||
'package.json': '/',
|
||||
'Makefile': 'cordova/',
|
||||
'ProjectMakefile': 'cordova/',
|
||||
'config.xml': 'cordova/',
|
||||
'Package.appxmanifest': 'cordova/wp/',
|
||||
'.desktop': 'webkitbuilds/.desktop',
|
||||
'setup-win.iss': 'webkitbuilds/setup-win.iss',
|
||||
// 'bower.json': '/',
|
||||
};
|
||||
var configDir = process.argv[2] || 'copay';
|
||||
var JSONheader = ' { ' + "\n" + ' "//":"PLEASE! Do not edit this file directly",' + "\n" + ' "//":" Modify it at app-template/", ' + "\n";
|
||||
|
||||
var MakefileHeader = "# PLEASE! Do not edit this file directly \n# Modify it at app-template/\n";
|
||||
|
||||
var fs = require('fs-extra');
|
||||
var path = require('path');
|
||||
|
||||
|
||||
|
||||
var configBlob = fs.readFileSync(configDir + '/appConfig.json', 'utf8');
|
||||
var config = JSON.parse(configBlob, 'utf8');
|
||||
|
||||
/////////////////
|
||||
console.log('Applying ' + config.nameCase + ' template');
|
||||
|
||||
Object.keys(templates).forEach(function(k) {
|
||||
var targetDir = templates[k];
|
||||
console.log(' # ' + k + ' => ' + targetDir);
|
||||
|
||||
var content = fs.readFileSync(k, 'utf8');
|
||||
|
||||
|
||||
if (k.indexOf('.json') > 0) {
|
||||
content = content.replace('{', JSONheader);
|
||||
|
||||
} else if (k.indexOf('Makefile') >= 0) {
|
||||
content = MakefileHeader + content;
|
||||
}
|
||||
|
||||
|
||||
Object.keys(config).forEach(function(k) {
|
||||
if (k.indexOf('_') == 0) return;
|
||||
|
||||
var r = new RegExp("\\*" + k.toUpperCase() + "\\*", "g");
|
||||
content = content.replace(r, config[k]);
|
||||
});
|
||||
|
||||
var r = new RegExp("\\*[A-Z]{3,30}\\*", "g");
|
||||
var s = content.match(r);
|
||||
if (s) {
|
||||
console.log('UNKNOWN VARIABLE', s);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
fs.writeFileSync('../' + targetDir + k, content, 'utf8');
|
||||
});
|
||||
|
||||
/////////////////
|
||||
console.log('Copying ' + configDir + '/appConfig.json' + ' to root');
|
||||
configBlob = configBlob.replace('{', JSONheader);
|
||||
fs.writeFileSync('../appConfig.json', configBlob, 'utf8');
|
||||
|
||||
|
||||
|
||||
function copyDir(from, to, cb) {
|
||||
console.log('Copying dir ' + from + ' to');
|
||||
var files = [];
|
||||
fs.walk(from)
|
||||
.on('data', function(item) {
|
||||
if ((item.stats["mode"] & 0x4000)) {
|
||||
|
||||
var tmp = item.path + '/';
|
||||
var l = tmp.length - from.length;
|
||||
if (tmp.indexOf(from) == l) return; // #same dir
|
||||
|
||||
console.log('[apply.js.81]', l); //TODO
|
||||
|
||||
console.log('[apply.js.78]', from); //TODO
|
||||
// console.log('[apply.js.78]', to); //TODO
|
||||
console.log('[apply.js.78]', item.path); //TODO
|
||||
console.log('[apply.js.78]', tmp.indexOf(from)); //TODO
|
||||
}
|
||||
if (item.path.indexOf('DS_Store') >= 0) return;
|
||||
|
||||
files.push(item.path)
|
||||
})
|
||||
.on('end', function() {
|
||||
files.forEach(function(i) {
|
||||
console.log(' # ' + i);
|
||||
fs.copySync(i, to + path.basename(i));
|
||||
});
|
||||
return cb();
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
copyDir(configDir + '/img/', '../public/img/', function() {
|
||||
copyDir(configDir + '/androidRes/', '../cordova/android/res/', function() {
|
||||
copyDir(configDir + '/iosIcons/', '../cordova/ios/icons/', function() {
|
||||
copyDir(configDir + '/iosSplash/', '../cordova/ios/splash/', function() {
|
||||
copyDir(configDir + '/wpAssets/', '../cordova/wp/Assets/', function() {
|
||||
copyDir(configDir + '/wpImg/', '../cordova/wp/', function() {
|
||||
|
||||
// TODO WP
|
||||
console.log("apply.js finished. \n\n");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
75
app-template/config.xml
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="com.bitpay.*NAMENOSPACE*"
|
||||
version="*VERSION*"
|
||||
android-versionCode="*ANDROIDVERSION*"
|
||||
ios-CFBundleVersion="*VERSION*">
|
||||
<name>*NAMECASENOSPACE*</name>
|
||||
<description>
|
||||
*APPDESCRIPTION*
|
||||
</description>
|
||||
<author email="support@bitpay.com" href="*URL*">
|
||||
BitPay Inc.
|
||||
</author>
|
||||
<content src="index.html" />
|
||||
<access origin="*" />
|
||||
<preference name="AndroidPersistentFileLocation" value="Internal" />
|
||||
<preference name="iosPersistentFileLocation" value="Library" />
|
||||
<preference name="DisallowOverscroll" value="true"/>
|
||||
<preference name="HideKeyboardFormAccessoryBar" value="true"/>
|
||||
<preference name="SplashScreen" value="copayscreen" />
|
||||
<preference name="ShowSplashScreenSpinner" value="false" />
|
||||
<preference name="AutoHideSplashScreen" value="false" />
|
||||
<preference name="FadeSplashScreen" value="true" />
|
||||
<preference name="FadeSplashScreenDuration" value="1" />
|
||||
<preference name="BackgroundColor" value="#2C3E50" />
|
||||
<preference name="StatusBarOverlaysWebView" value="false" />
|
||||
<preference name="StatusBarBackgroundColor" value="#2C3E50" />
|
||||
<preference name="StatusBarStyle" value="lightcontent" />
|
||||
<preference name="BackupWebStorage" value="none"/>
|
||||
<preference name="windows-target-version" value="8.1"/>
|
||||
<preference name="Orientation" value="default" />
|
||||
|
||||
<platform name="android">
|
||||
<hook type="after_run" src="scripts/afterRun.js" />
|
||||
</platform>
|
||||
|
||||
<platform name="ios">
|
||||
<!-- iOS 8.0+ -->
|
||||
<!-- iPad Pro -->
|
||||
<icon src="../ios/icons/icon-83.5@2x.png" width="167" height="167" />
|
||||
<!-- iPhone 6 Plus -->
|
||||
<icon src="../ios/icons/icon-60@3x.png" width="180" height="180" />
|
||||
<!-- iOS 7.0+ -->
|
||||
<!-- iPhone / iPod Touch -->
|
||||
<icon src="../ios/icons/icon-60@2x.png" width="120" height="120" />
|
||||
<!-- iPad -->
|
||||
<icon src="../ios/icons/icon-76.png" width="76" height="76" />
|
||||
<icon src="../ios/icons/icon-76@2x.png" width="152" height="152" />
|
||||
<!-- iOS 6.1 -->
|
||||
<!-- Spotlight Icon -->
|
||||
<icon src="../ios/icons/icon-40.png" width="40" height="40" />
|
||||
<icon src="../ios/icons/icon-40@2x.png" width="80" height="80" />
|
||||
<!-- iPhone / iPod Touch -->
|
||||
<icon src="../ios/icons/icon.png" width="57" height="57" />
|
||||
<icon src="../ios/icons/icon@2x.png" width="114" height="114" />
|
||||
<!-- iPad -->
|
||||
<icon src="../ios/icons/icon-72.png" width="72" height="72" />
|
||||
<icon src="../ios/icons/icon-72@2x.png" width="144" height="144" />
|
||||
<!-- iPhone Spotlight and Settings Icon -->
|
||||
<icon src="../ios/icons/icon-small.png" width="29" height="29" />
|
||||
<icon src="../ios/icons/icon-small@2x.png" width="58" height="58" />
|
||||
<icon src="../ios/icons/icon-small@3x.png" width="87" height="87" />
|
||||
<!-- iPad Spotlight and Settings Icon -->
|
||||
<icon src="../ios/icons/icon-50.png" width="50" height="50" />
|
||||
<icon src="../ios/icons/icon-50@2x.png" width="100" height="100" />
|
||||
|
||||
<!-- Splash -->
|
||||
<splash src="../ios/splash/Default~iphone.png" width="320" height="480"/>
|
||||
<splash src="../ios/splash/Default@2x~iphone.png" width="640" height="960"/>
|
||||
<splash src="../ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
|
||||
<splash src="../ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
|
||||
<splash src="../ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
|
||||
<splash src="../ios/splash/Default-667h.png" width="750" height="1334"/>
|
||||
<splash src="../ios/splash/Default-736h.png" width="1242" height="2208"/>
|
||||
</platform>
|
||||
</widget>
|
||||
BIN
app-template/copay/androidRes/drawable-hdpi/icon.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
app-template/copay/androidRes/drawable-hdpi/push.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
app-template/copay/androidRes/drawable-ldpi/icon.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app-template/copay/androidRes/drawable-ldpi/push.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
app-template/copay/androidRes/drawable-mdpi/icon.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app-template/copay/androidRes/drawable-mdpi/push.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
app-template/copay/androidRes/drawable-port-hdpi/copayscreen.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app-template/copay/androidRes/drawable-port-ldpi/copayscreen.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
app-template/copay/androidRes/drawable-port-mdpi/copayscreen.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 73 KiB |
BIN
app-template/copay/androidRes/drawable-xhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
app-template/copay/androidRes/drawable-xhdpi/push.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
app-template/copay/androidRes/drawable-xxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
app-template/copay/androidRes/drawable-xxhdpi/push.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
app-template/copay/androidRes/drawable-xxxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app-template/copay/androidRes/drawable/icon.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
app-template/copay/androidRes/drawable/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
app-template/copay/androidRes/drawable/share_via_barcode.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app-template/copay/androidRes/drawable/shopper_icon.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
app-template/copay/img/logo-negative.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
18
app-template/copay/img/logo-negative.svg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app-template/copay/img/logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
50
app-template/copay/img/logo.svg
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Capa_1" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-222 391.9 150 65.9"
|
||||
enable-background="new -222 391.9 150 65.9" xml:space="preserve">
|
||||
<title>download 3</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<g id="Login" sketch:type="MSPage">
|
||||
<g id="Tour-1" transform="translate(-244.000000, -476.000000)" sketch:type="MSArtboardGroup">
|
||||
<g id="download-3" transform="translate(244.000000, 476.000000)" sketch:type="MSLayerGroup">
|
||||
<path id="Shape_4_" sketch:type="MSShapeGroup" fill="#2C3E50" d="M-75.1,399.7c-1.1,0.1-2.2,0.4-3.4,0.7c-0.4,0.1-0.7,0.4-1,0.7
|
||||
c-0.3,0.3-0.6,0.6-0.8,0.8c-0.2,0.2-0.4,0.6-0.6,1.2c-0.2,0.6-0.4,1-0.5,1.3c-0.1,0.3-0.3,0.9-0.5,1.7c-0.2,0.8-0.4,1.5-0.5,1.9
|
||||
c-0.9,3.2-2.4,6.4-4.5,9.7c-2,3.3-3.8,5-5.3,5.2c-0.8,0.1-1.3-0.6-1.4-2c-0.3-2.7,0.3-6.1,1.6-10.2c1.4-4.1,2.8-7,4.4-8.7
|
||||
c0.2-0.3,0.3-0.5,0.3-0.7c0-0.2-0.1-0.2-0.3-0.2c-2.2,0.2-4,0.7-5.2,1.4c-1.2,0.7-2.3,2-3.4,4.1c-0.8,1.6-1.4,3.5-2,5.9
|
||||
c-2.8,6.8-5.4,10.3-7.7,10.6c-0.8,0.1-1.2-0.4-1.3-1.5c-0.2-2.1,0.4-5.6,2-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,416.7z"/>
|
||||
<path id="Shape_5_" sketch:type="MSShapeGroup" fill="#2C3E50" d="M-161.8,439.1c-14.4,2.5-28.3,5.9-38,9.9
|
||||
c-4.1,1.7-5.1,5-3.8,8.1c16.6-7.5,24.8-9.7,36.9-12.7c2.1-0.5,3.9-2.1,4.6-4.2C-162,439.9-161.9,439.5-161.8,439.1L-161.8,439.1z
|
||||
"/>
|
||||
<path id="Shape_6_" sketch:type="MSShapeGroup" fill="#2C3E50" d="M-107.8,437.5c0.4-1.8-0.1-1.9-1.9-2.1
|
||||
c-10.1-1.5-21.1-1.4-34.4,1.5c-2.2,0.5-4.1,2-4.4,4.3C-148.6,441.2-131.9,435.7-107.8,437.5L-107.8,437.5L-107.8,437.5z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
BIN
app-template/copay/iosIcons/icon-300.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
app-template/copay/iosIcons/icon-40.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
app-template/copay/iosIcons/icon-40@2x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app-template/copay/iosIcons/icon-50.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
app-template/copay/iosIcons/icon-50@2x.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app-template/copay/iosIcons/icon-57.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
app-template/copay/iosIcons/icon-57@2x.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
app-template/copay/iosIcons/icon-60@2x.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
app-template/copay/iosIcons/icon-60@3x.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
app-template/copay/iosIcons/icon-72.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
app-template/copay/iosIcons/icon-72@2x.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
app-template/copay/iosIcons/icon-76.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
app-template/copay/iosIcons/icon-76@2x.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
app-template/copay/iosIcons/icon-83.5@2x.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
app-template/copay/iosIcons/icon-small.png
Normal file
|
After Width: | Height: | Size: 1,011 B |
BIN
app-template/copay/iosIcons/icon-small@2x.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
app-template/copay/iosIcons/icon-small@3x.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
app-template/copay/iosIcons/icon.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app-template/copay/iosIcons/icon@2x.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
app-template/copay/iosSplash/Default-568h@2x~iphone.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
app-template/copay/iosSplash/Default-667h.png
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
app-template/copay/iosSplash/Default-736h.png
Normal file
|
After Width: | Height: | Size: 515 KiB |
BIN
app-template/copay/iosSplash/Default-Portrait@2x~ipad.png
Normal file
|
After Width: | Height: | Size: 561 KiB |
BIN
app-template/copay/iosSplash/Default-Portrait~ipad.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
app-template/copay/iosSplash/Default@2x~iphone.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
BIN
app-template/copay/iosSplash/Default~iphone.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
app-template/copay/wpAssets/173x173@1.png
Executable file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
app-template/copay/wpAssets/173x173@2.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
BIN
app-template/copay/wpAssets/200x200@1.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
app-template/copay/wpAssets/200x200@2.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app-template/copay/wpAssets/62x62@1.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app-template/copay/wpAssets/62x62@2.png
Executable file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app-template/copay/wpAssets/99x99@1.png
Executable file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
app-template/copay/wpAssets/99x99@2.png
Executable file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
app-template/copay/wpAssets/BadgeLogo.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
app-template/copay/wpAssets/Logo.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
app-template/copay/wpAssets/SplashScreen.png
Normal file
|
After Width: | Height: | Size: 427 KiB |
BIN
app-template/copay/wpAssets/SquareTile150x150.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
app-template/copay/wpAssets/SquareTile71x71.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app-template/copay/wpAssets/StoreLogo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app-template/copay/wpAssets/WideLogo.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
app-template/copay/wpAssets/icon-300.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
app-template/copay/wpAssets/icon@1.png
Executable file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
app-template/copay/wpAssets/icon@2.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
app-template/copay/wpAssets/icon@2x.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
app-template/copay/wpImg/ApplicationIcon.png
Executable file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
app-template/copay/wpImg/Background.png
Executable file
|
After Width: | Height: | Size: 16 KiB |
BIN
app-template/copay/wpImg/SplashScreenImage-original.jpg
Normal file
|
After Width: | Height: | Size: 409 KiB |
BIN
app-template/copay/wpImg/SplashScreenImage.jpg
Normal file
|
After Width: | Height: | Size: 174 KiB |
96
app-template/package.json
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
|
||||
{
|
||||
"name": "*NAMENOSPACE*",
|
||||
"description": "*DESCRIPTION*",
|
||||
"author": "BitPay",
|
||||
"version": "*VERSION*",
|
||||
"keywords": [
|
||||
"wallet",
|
||||
"copay",
|
||||
"multisignature",
|
||||
"bitcoin",
|
||||
"bitcore"
|
||||
],
|
||||
"main": "public/index.html",
|
||||
"window": {
|
||||
"title": "Copay - A multisignature bitcoin wallet",
|
||||
"icon": "./public/img/icons/icon-256.png",
|
||||
"toolbar": false,
|
||||
"show": true,
|
||||
"visible": true,
|
||||
"resizable": true,
|
||||
"frame": true,
|
||||
"width": 800,
|
||||
"height": 600,
|
||||
"position": "center",
|
||||
"fullscreen": false
|
||||
},
|
||||
"webkit": {
|
||||
"page-cache": false,
|
||||
"java": false,
|
||||
"plugin": false
|
||||
},
|
||||
"dom_storage_quota": 200,
|
||||
"id": "jid1-x7bV5evAaI1P9Q",
|
||||
"homepage": "https://github.com/bitpay/copay",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"url": "git://github.com/bitpay/copay.git",
|
||||
"type": "git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/bitpay/copay/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"bitcore-wallet-client": "2.11.0",
|
||||
"coveralls": "^2.11.9",
|
||||
"express": "^4.11.2",
|
||||
"fs": "0.0.2",
|
||||
"shelljs": "^0.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "bower install && cd app-template && ./apply.js",
|
||||
"postinstall": "npm run build",
|
||||
"build": "grunt",
|
||||
"start": "node app.js",
|
||||
"test": "./node_modules/.bin/grunt test-coveralls",
|
||||
"clean": "git clean -dfx"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt-angular-gettext": "^2.2.3",
|
||||
"fs-extra": "^0.30.0",
|
||||
"grunt-browserify": "^5.0.0",
|
||||
"grunt-cli": "^1.2.0",
|
||||
"grunt-contrib-compress": "^1.3.0",
|
||||
"grunt-contrib-concat": "^1.0.1",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
"grunt-contrib-uglify": "^2.0.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"grunt-exec": "^1.0.0",
|
||||
"grunt-karma": "^2.0.0",
|
||||
"grunt-karma-coveralls": "^2.5.4",
|
||||
"grunt-nw-builder": "^2.0.3",
|
||||
"grunt-sass": "^1.2.0",
|
||||
"adm-zip": "^0.4.7",
|
||||
"angular": "1.4.6",
|
||||
"angular-mocks": "1.4.10",
|
||||
"bhttp": "^1.2.1",
|
||||
"bower": "^1.7.9",
|
||||
"chai": "^3.5.0",
|
||||
"cordova": "5.4.1",
|
||||
"cordova-android": "5.1.1",
|
||||
"karma": "^0.13.22",
|
||||
"karma-chai": "^0.1.0",
|
||||
"karma-chrome-launcher": "^1.0.1",
|
||||
"karma-cli": "^1.0.0",
|
||||
"karma-coverage": "^1.0.0",
|
||||
"karma-mocha": "^1.0.1",
|
||||
"karma-mocha-reporter": "^2.0.3",
|
||||
"karma-phantomjs-launcher": "^1.0.0",
|
||||
"karma-sinon": "^1.0.5",
|
||||
"load-grunt-tasks": "^3.5.0",
|
||||
"mocha": "^2.4.5",
|
||||
"phantomjs-prebuilt": "^2.1.7",
|
||||
"xcode": "^0.8.2"
|
||||
}
|
||||
}
|
||||
57
app-template/setup-win.iss
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
; Script generated by the Inno Setup Script Wizard.
|
||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
|
||||
#define MyAppName "*NAMENOSPACE*"
|
||||
#define MyAppVersion "*VERSION*"
|
||||
#define MyAppPublisher "BitPay"
|
||||
#define MyAppURL "*URL*"
|
||||
#define MyAppExeName "*NAMECASENOSPACE.exe"
|
||||
|
||||
[Setup]
|
||||
AppId={{804636ee-b017-4cad-8719-e58ac97ffa5c}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
;AppVerName={#MyAppName} {#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
DefaultDirName={pf}\{#MyAppName}
|
||||
DefaultGroupName={#MyAppName}
|
||||
OutputBaseFilename=*NAMECASENOSPACE*-win
|
||||
OutputDir=./
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
|
||||
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
|
||||
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: "*NAMECASENOSPACE*\win64\*NAMENOSPACE*.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "*NAMECASENOSPACE*\win64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "../public/img/icons/favicon.ico"; DestDir: "{app}"; DestName: "icon.ico"; Flags: ignoreversion
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; WorkingDir: "{app}"; IconFilename: "{app}/icon.ico"
|
||||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}/icon.ico"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Registry]
|
||||
Root: HKCR; Subkey: "bitcoin"; ValueType: "string"; ValueData: "URL:Bitcoin Custom Protocol"; Flags: uninsdeletekey
|
||||
Root: HKCR; Subkey: "bitcoin"; ValueType: "string"; ValueName: "URL Protocol"; ValueData: ""
|
||||
Root: HKCR; Subkey: "bitcoin\DefaultIcon"; ValueType: "string"; ValueData: "{app}\{#MyAppExeName},0"
|
||||
Root: HKCR; Subkey: "bitcoin\shell\open\command"; ValueType: "string"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
|
||||
|
||||
Root: HKCR; Subkey: "*NAMENOSPACE*"; ValueType: "string"; ValueData: "URL:*NAMECASENOSPACE* Custom Protocol"; Flags: uninsdeletekey
|
||||
Root: HKCR; Subkey: "*NAMENOSPACE*"; ValueType: "string"; ValueName: "URL Protocol"; ValueData: ""
|
||||
Root: HKCR; Subkey: "*NAMENOSPACE*\DefaultIcon"; ValueType: "string"; ValueData: "{app}\{#MyAppExeName},0"
|
||||
Root: HKCR; Subkey: "*NAMENOSPACE*\shell\open\command"; ValueType: "string"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
|
||||
|
||||