Compare commits
10 Commits
5285c74f3e
...
49921e034b
Author | SHA1 | Date |
---|---|---|
Mike Nolan | 49921e034b | |
Mike Nolan | f14c6a6eb4 | |
Mike Nolan | c34cfa58e3 | |
Mike Nolan | c4621d2c9b | |
Mike Nolan | 668007e67e | |
Mike Nolan | 79d8fb8ae2 | |
Mike Nolan | 3bc738befa | |
Mike Nolan | 83fbbef8b4 | |
Mike Nolan | 90adb11b6a | |
Mike Nolan | 93796b06fb |
|
@ -137,4 +137,6 @@ Timelapse.Pack/nupkg
|
|||
Timelapse.Linux/Timelapse*.AppImage
|
||||
Timelapse.Linux/Timelapse*.tar.gz
|
||||
Timelapse.BuildWindows/Output
|
||||
Timelapse.BuildWindows/*.nsi
|
||||
Timelapse.BuildWindows/*.nsi
|
||||
Temp
|
||||
publish
|
|
@ -0,0 +1,13 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
stage: build
|
||||
only:
|
||||
- master
|
||||
artifacts:
|
||||
paths:
|
||||
- publish
|
||||
script:
|
||||
bash build.sh
|
|
@ -6,9 +6,9 @@
|
|||
<PackageId>Tesses.TimelapseExtension</PackageId>
|
||||
<Authors>Mike Nolan</Authors>
|
||||
<Company>Tesses</Company>
|
||||
<Version>1.0.2</Version>
|
||||
<AssemblyVersion>1.0.2</AssemblyVersion>
|
||||
<FileVersion>1.0.2</FileVersion>
|
||||
<Version>1.0.3</Version>
|
||||
<AssemblyVersion>1.0.3</AssemblyVersion>
|
||||
<FileVersion>1.0.3</FileVersion>
|
||||
<Description>Extension templates for TimelapseNow</Description>
|
||||
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"sourceName": "TimelapseExtension0001",
|
||||
"defaultName": "TimelapseExtension",
|
||||
"author": "Tesses",
|
||||
"classifications": [ "Common", "Library","Desktop" ],
|
||||
"identity": "Timelapse.ExtensionLibrary.CSharp",
|
||||
"name": "Timelapse templates: Extension",
|
||||
"shortName": "timelapseext",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "project"
|
||||
},
|
||||
"description": "Extension for TimelapseNow",
|
||||
"symbols": {
|
||||
"Framework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"datatype": "choice",
|
||||
"choices": [
|
||||
{
|
||||
"choice": "net6.0",
|
||||
"description": "Target net6.0"
|
||||
}
|
||||
],
|
||||
"replaces": "net6.0",
|
||||
"defaultValue": "net6.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
using TimelapseApi;
|
||||
using System;
|
||||
namespace TimelapseExtension0001
|
||||
{
|
||||
public class TimelapseExtension0001 : TimelapseExtension
|
||||
{
|
||||
public override string Name => "TimelapseExtension0001";
|
||||
public override Guid Id => Guid.Parse("{1cb8b576-e2e8-44d5-a8e1-e25a47eb0564}"); //https://duckduckgo.com/?q=guid&t=ffab&ia=answer
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "TimelapseExtension0001",
|
||||
"author": "YourNameOrCompanyName",
|
||||
"version": "1.0.0",
|
||||
"description": "Some Description"
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"sourceName": "TimelapseExtension0001",
|
||||
"defaultName": "TimelapseExtension",
|
||||
"author": "Tesses",
|
||||
"classifications": [ "Common", "Library","Desktop" ],
|
||||
"identity": "Timelapse.ExtensionLibrary.FSharp",
|
||||
"name": "Timelapse templates: Extension",
|
||||
"shortName": "timelapseext",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "project"
|
||||
},
|
||||
"description": "Extension for TimelapseNow",
|
||||
"symbols": {
|
||||
"Framework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"datatype": "choice",
|
||||
"choices": [
|
||||
{
|
||||
"choice": "net6.0",
|
||||
"description": "Target net6.0"
|
||||
}
|
||||
],
|
||||
"replaces": "net6.0",
|
||||
"defaultValue": "net6.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
namespace TimelapseExtension0001
|
||||
open TimelapseApi
|
||||
open System
|
||||
|
||||
type TimelapseExtension0001() =
|
||||
inherit TimelapseExtension()
|
||||
override this.Name = "TimelapseExtension0001"
|
||||
override this.Id = Guid.Parse("")
|
|
@ -0,0 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RootNamespace>TimelapseExtension0001</RootNamespace>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Extension.fs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "TimelapseExtension0001",
|
||||
"author": "YourNameOrCompanyName",
|
||||
"version": "1.0.0",
|
||||
"description": "Some Description"
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
"defaultName": "TimelapseExtension",
|
||||
"author": "Tesses",
|
||||
"classifications": [ "Common", "Library","Desktop" ],
|
||||
"identity": "Timelapse.ExtensionLibrary",
|
||||
"identity": "Timelapse.ExtensionLibrary.VBNET",
|
||||
"name": "Timelapse templates: Extension",
|
||||
"shortName": "timelapseext",
|
||||
"tags": {
|
||||
|
|
|
@ -34,6 +34,10 @@ public class PictureBox : Panel
|
|||
public void SetImage(Image<Rgb24> image)
|
||||
{
|
||||
lockObj.Lock(()=>{
|
||||
if(img != null)
|
||||
{
|
||||
img.Dispose();
|
||||
}
|
||||
img=image;
|
||||
if(img !=null)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
mkdir Temp
|
||||
mkdir publish
|
||||
cd Temp
|
||||
wget -O tib https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||
chmod 755 tib
|
||||
apt update
|
||||
apt install -y file binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
|
||||
./tib --appimage-extract
|
||||
export PATH=$PATH:$PWD/squashfs-root/usr/bin
|
||||
cd ../Timelapse.Linux
|
||||
make
|
||||
mv *.tar.gz ../publish/
|
||||
mv *.AppImage ../publish/
|
Loading…
Reference in New Issue