Lynne
b26326baf5
- use var instead of specific type names where applicable - get user's home directory from Environment.SpecialFolder.UserProfile instead of reading the HOME environment variable, which isn't always set - use object initialisers where possible - remove redundant identifiers (e.g. "Gtk.Application.Invoke" becomes "Application.Invoke"), of which there were MANY - remove unused local variables - replace "variable as Class" with "(Class) variable" - many other miscellaneous improvements thanks rider 0u0 |
||
---|---|---|
.idea/.idea.buypeeb.dir/.idea | ||
.vscode | ||
Properties/PublishProfiles | ||
res | ||
ui | ||
.gitignore | ||
.mailmap | ||
AddItemDialogue.cs | ||
buypeeb.csproj | ||
BuypeebApp.cs | ||
Folder.DotSettings | ||
LICENSE | ||
MainWindow.cs | ||
PKGBUILD | ||
readme.md | ||
release.ps1 | ||
release.sh | ||
Settings.cs | ||
SettingsWindow.cs | ||
YahooAuctionsItem.cs |
buypeeb
a simple dotnet core program that allows you to track auctions on yahoo auctions japan, written in c#. designed for and with linux, but works on windows.
quick start (arch linux)
git clone https://git.bune.city/lynnesbian/buypeeb-cs
cd buypeeb-cs
sudo pacman -S dotnet-sdk
dotnet run
quick install (arch linux)
mkdir buypeeb
cd buypeeb
curl -O https://git.bune.city/lynnesbian/buypeeb-cs/raw/branch/master/PKGBUILD
makepkg -si # installs to /usr/bin/buypeeb
buypeeb
installing prerequisites
you'll need the dotnet core sdk
debian
follow these instructions to add the dotnet repo and install dotnet-sdk.
arch linux
sudo pacman -S dotnet-sdk
windows
- download and install ".NET Core SDK" from this page
- run
dotnet build
- this should pull in gtk3 automatically - if not, you'll need to install it yourself
i have no idea how to install mono with gtksharp properly on windows, and believe me i tried
compiling
dotnet build
running
dotnet run
compiling a standalone version
the standalone versions are rather big, so it's a good idea to compress them for distribution.
linux
run ./release.sh
.
the binary will be located at ./out/release/linux/buypeeb
, with a zstandard compressed version at buypeeb.tar.zst
in the same directory.
windows
run .\release.ps1
.
the binary will be located at .\out\release\windows\buybeep.exe
, with a zip compressed version at buypeep.zip
in the same directory.
unfortunately, however, this program won't work on machines that don't have GTK3 installed, and installing GTK3 is quite an undertaking. a solution for this is in the works, but there's not really anything to be done about it right now.