Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6a8c2f6e5 | ||
|
|
edd9797246 | ||
|
|
234cd96109 | ||
|
|
e323482b2e |
@@ -1,3 +1,7 @@
|
|||||||
/bin
|
/qrCamera/bin
|
||||||
/obj
|
/qrCamera/obj
|
||||||
/cache
|
/qrCamera/cache
|
||||||
|
/createqrcodes/bin
|
||||||
|
/createqrcodes/obj
|
||||||
|
/qr
|
||||||
|
/createqr
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
qr:
|
||||||
|
dotnet publish createqrcodes/createqrcodes.csproj -p:PublishSingleFile=true
|
||||||
|
mv createqrcodes/bin/Release/net10.0/linux-x64/publish/createqrcodes ./createqr
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf qrCamera/bin/
|
||||||
|
rm -rf qrCamera/obj/
|
||||||
|
rm -rf createqrcodes/obj/
|
||||||
|
rm -rf createqrcodes/bin/
|
||||||
|
rm -f createqr
|
||||||
|
rm -rf qr/
|
||||||
|
run:
|
||||||
|
dotnet run -p:qrCamera/CameraPreview.csproj
|
||||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,17 @@
|
|||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
|
string[] files;
|
||||||
|
|
||||||
|
files = Directory.GetFiles("assets");
|
||||||
|
if(Directory.Exists("qr"))
|
||||||
|
Directory.Delete("qr", true);
|
||||||
|
Directory.CreateDirectory("qr");
|
||||||
|
|
||||||
|
foreach (var item in files)
|
||||||
|
{
|
||||||
|
string name = Path.GetFileName(item);
|
||||||
|
|
||||||
|
//https://gitea.kqnori.pl/kq/qrcode/raw/branch/main/assets/gay.png
|
||||||
|
Console.WriteLine(name);
|
||||||
|
Process.Start("qrencode",$"https://gitea.kqnori.pl/kq/qrcode/raw/branch/main/assets/{name} -o qr/item{name.Split('.').First()}.png");
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
|
Before Width: | Height: | Size: 850 KiB After Width: | Height: | Size: 850 KiB |
|
Before Width: | Height: | Size: 980 KiB After Width: | Height: | Size: 980 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |