Commit 99bae2a4 authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Add lncs and remove dependency on cdnjs

parent 08c50af9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,4 +27,4 @@

# generated bordel
hashauth.txt
lib/
jslib/
+1 −0
Original line number Diff line number Diff line
@@ -78,4 +78,5 @@ COPY config/Xresources /root/.Xresources
COPY scripts /scripts
COPY sketches /sketches
COPY blends /blends
COPY jslib /jslib
RUN chmod +x /scripts/hash.sh /scripts/testbase.sh && ln -st / /scripts/hash.sh
+2.45 KiB (1.11 MiB)

File changed.

No diff preview for this file type.

+10 −2
Original line number Diff line number Diff line
@@ -4,7 +4,15 @@
  "libraries": [
    {
      "library": "@types/p5@0.9.1",
      "destination": "lib/types/p5"
      "destination": "jslib/types/p5"
    },
    {
      "library": "p5@1.2.0",
      "destination": "jslib/p5"
    },
    {
      "library": "suncalc@1.8.0",
      "destination": "jslib/suncalc"
    }
  ]
}
+2 −2
Original line number Diff line number Diff line
@@ -18,9 +18,9 @@ $hash = (Get-FileHash -Path $path -Algorithm SHA256).Hash.ToLower()

# create a container
if ($debug) {
    $container = (docker create -it -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true hash /hash.sh $hash)
    $container = (docker create -it --network none -e WIDTH=$width -e HEIGHT=$height -e DEBUG=true hash /hash.sh $hash)
} else {
    $container = (docker create -it -e WIDTH=$width -e HEIGHT=$height hash /hash.sh $hash)
    $container = (docker create -it --network none -e WIDTH=$width -e HEIGHT=$height hash /hash.sh $hash)
}
if (-Not($?)) {
    Write-Host "Failed to create a Docker container."
Loading