update/v0.7.4-alpha

This commit is contained in:
gStart9
2025-03-14 20:59:46 +00:00
committed by GitHub
7 changed files with 25 additions and 12 deletions

View File

@ -2,10 +2,10 @@ FROM recksato/robosats-client:v0.7.4-alpha
RUN apk add bash curl sudo tini wget yq; \
rm -f /var/cache/apk/*
ENV APP_HOST robosats.embassy
ENV APP_PORT 12596
ENV TOR_PROXY_IP embassy
ENV TOR_PROXY_PORT 9050
ENV APP_HOST=robosats.embassy
ENV APP_PORT=12596
ENV TOR_PROXY_IP=embassy
ENV TOR_PROXY_PORT=9050
ADD ./docker_entrypoint.sh /usr/local/bin/docker_entrypoint.sh
RUN chmod a+x /usr/local/bin/*.sh

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2024 Start9 Labs
Copyright (c) 2025 Start9 Labs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -14,13 +14,22 @@ install: $(PKG_ID).s9pk
start-cli package install $(PKG_ID).s9pk
clean:
docker run --rm -it -v "$(shell pwd)"/configurator:/home/rust/src messense/rust-musl-cross:x86_64-musl cargo clean -q
rm -rf docker-images
rm -f image.tar
rm -f $(PKG_ID).s9pk
rm -f scripts/*.js
# for rebuilding just the arm image. will include docker-images/x86_64.tar into the s9pk if it exists
arm: docker-images/aarch64.tar scripts/embassy.js
start-sdk pack
# for rebuilding just the x86 image. will include docker-images/aarch64.tar into the s9pk if it exists
x86: docker-images/x86_64.tar scripts/embassy.js
start-sdk pack
scripts/embassy.js: $(TS_FILES)
deno bundle scripts/embassy.ts scripts/embassy.js
deno run --allow-read --allow-write --allow-env --allow-net scripts/bundle.ts
docker-images/x86_64.tar: Dockerfile docker_entrypoint.sh
mkdir -p docker-images
@ -30,5 +39,5 @@ docker-images/aarch64.tar: Dockerfile docker_entrypoint.sh
mkdir -p docker-images
docker buildx build --tag start9/$(PKG_ID)/main:$(PKG_VERSION) --platform=linux/arm64 --build-arg PLATFORM=arm64 -o type=docker,dest=docker-images/aarch64.tar .
$(PKG_ID).s9pk: manifest.yaml instructions.md LICENSE icon.png scripts/embassy.js docker-images/aarch64.tar docker-images/x86_64.tar
$(PKG_ID).s9pk: manifest.yaml instructions.md LICENSE icon.png scripts/embassy.js docker-images/x86_64.tar docker-images/aarch64.tar
start-sdk pack

View File

@ -59,7 +59,7 @@ Now you are ready to build your **robosats** service
Clone the project locally.
```
git clone https://github.com/kn0wmad/robosats-wrapper.git
git clone https://github.com/Start9Labs/robosats-startos.git
cd robosats-wrapper
```

View File

@ -4,9 +4,9 @@ version: 0.7.4
release-notes: |
* Updated to RoboSats v0.7.4-alpha [Release Notes](https://github.com/RoboSats/robosats/releases/tag/v0.7.4-alpha)
license: mit
wrapper-repo: "https://github.com/RoboSats/robosats-startos"
upstream-repo: "https://github.com/Reckless-Satoshi/robosats"
support-site: "https://github.com/RoboSats/robosats-startos/issues"
wrapper-repo: "https://github.com/Start9Labs/robosats-startos"
upstream-repo: "https://github.com/RoboSats/robosats"
support-site: "https://github.com/Start9Labs/robosats-startos/issues"
marketing-site: "https://learn.robosats.com/"
donation-url: "https://learn.robosats.com/contribute/donate/"
# The series of commands to build the project into an s9pk for arm64/v8. In this case we are using a Makefile with the simple build command "make".

3
scripts/bundle.ts Normal file
View File

@ -0,0 +1,3 @@
import { bundle } from "https://deno.land/x/emit@0.40.0/mod.ts";
const result = await bundle("scripts/embassy.ts");
await Deno.writeTextFile("scripts/embassy.js", result.code);

View File

@ -1 +1,2 @@
export * from "https://deno.land/x/embassyd_sdk@v0.3.3.0.9/mod.ts";
export * from "https://deno.land/x/embassyd_sdk@v0.3.3.0.11/mod.ts";
export * from "https://deno.land/x/embassyd_sdk@v0.3.3.0.11/util.ts";