This commit is contained in:
Igor Timofeev 2016-07-12 20:55:16 +03:00
parent 29d7bc4891
commit be8790bfe1
2 changed files with 10 additions and 9 deletions

View File

@ -1032,13 +1032,13 @@
type="Application",
icon="IgorTimofeev/OpenComputers/master/Applications/Chat/Icon.pic",
createShortcut="desktop",
version=1.0,
},
{
name="MineOS/System/Chat/Avatars/MyAvatar.pic",
url="IgorTimofeev/OpenComputers/master/Applications/Chat/MyAvatar.pic",
type="Script",
version=1.0,
version=1.01,
resources = {
{
name="Avatars/MyAvatar.pic",
url="IgorTimofeev/OpenComputers/master/Applications/Chat/MyAvatar.pic",
}
},
},
{
name="MineOS/Applications/TurretControl",

View File

@ -56,8 +56,9 @@ modem.open(port)
-------------------------------------------------------------------------------------------------------------------------------
local pathToSaveSendedFiles = "MineOS/Downloads/"
local contactsAvatarsPath = "MineOS/System/Chat/Avatars/"
local pathToApplication = "/MineOS/Applications/Chat.app/"
local pathToSaveSendedFiles = "/MineOS/Downloads/"
local contactsAvatarsPath = pathToApplication .. "Resources/Avatars/"
local personalAvatarPath = contactsAvatarsPath .. "MyAvatar.pic"
local chatHistoryPath = "MineOS/System/Chat/History.cfg"
local avatarWidthLimit = 6